Coder Social home page Coder Social logo

argot's People

Contributors

shannasplk avatar steventhanna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

argot's Issues

Can not extract multiple lines of text

For some reason, the system does not like this method... And this method is kinda important.

public String[] extractMultiple(String tag) {
    ArrayList<String> temp = new ArrayList<String>();
    int totalTags = 0;
    // Find tags
    for(int i = 0; i < header.size(); i++) {
      // Tag exists
      if(header.get(i).contains(tag)) {
        temp.add(header.get(i));
        totalTags++;
        // Check for multi-line
        if(nextLineEscapePosition(i) != i) {
          // Multi-line == true
          for(int j = i; j < nextLineEscapePosition(i); j++) {
            temp.add(header.get(j));
          }
        }
      }
    }
    // Declare array
    String[] array = new String[totalTags];
    // Combine the multi-line
    for(int i = 0; i < array.length; i++) {
      for(int j = 0; j < temp.size(); j++) {
        if(temp.get(j).contains("@")) {
          array[i] = extractSingle(tag, temp.get(j), true);
        } else {
          array[i] += extractSingle(tag, temp.get(j), false);
        }
      }
    }
    return array;
  }

New Language Constructor

Need a new constructor for Language.java that can handle HTML like syntax, with a beginning tag, and an ending tag.

Update README and Docs

Update README and docs to document the new version of Argot.

  • README
  • Wiki
  • CONTRIBUTING.md

Add Python Support

Add support for the Python language

TODO

  • Add HashLangauge.java that models SlashLanguage.java NOTE: Must implement Language
  • Add HashComment.javathat models SlashComment.java NOTE: Must implement Comment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.