49 Commits (develop)

Author SHA1 Message Date
  Ben Kurtovic bd7ec4552a Return empty symbol dictionary instead of None. 10 years ago
  Benjamin Attal a6c48845dd Fix subprocess error in java 10 years ago
  Benjamin Attal ed4bc75f1e Update parser commands, change parsers to subprocesses rather than servers, implement ruby parser with subprocess. 10 years ago
  Benjamin Attal 54a3485837 Add parsing for import statements in java. 10 years ago
  Benjamin Attal 6659e1fe73 Add block position function to handle positions for java ast nodes. 10 years ago
  Benjamin Attal 6ffe80c846 Catch more symbols python. 10 years ago
  Ben Kurtovic ae542e640c Typo. 10 years ago
  Ben Kurtovic 33c942402f Python parser bugfix, again. 10 years ago
  Ben Kurtovic 05811c7c1b Fix bug in parser for Python classes. 10 years ago
  Ben Kurtovic c475de1c0b Finish new language spec. 10 years ago
  Benjamin Attal 2d643b1069 Stop ruby parser from failing. Add other parser fixes. Should be good 10 years ago
  Ben Kurtovic 9d3f9444f7 Not necessary: codelet.symbols is {} by default. 10 years ago
  Benjamin Attal 16775a6490 Remove negative line numbers for parsers. 10 years ago
  Ben Kurtovic 71ba6c31d8 Minor cleanup. 10 years ago
  Benjamin Attal 525e049be0 Bug fixes. 10 years ago
  Benjamin Attal e9f0ddfe71 Ensure ruby parser returns all dictionary keys, regardless of whether or not there are elements in them. 10 years ago
  Ben Kurtovic 6eeea5bf7e Fix parsing via servers. 10 years ago
  Benjamin Attal 7337638b72 Change form get_lexer to guess_lexer -- guess_lexer is more accurate. 10 years ago
  Benjamin Attal ca4bb8ff42 Change format of symbols to fit databse model. 10 years ago
  Benjamin Attal c9520fd4e3 Add function to start parse servers in parser/__init__.py 10 years ago
  Benjamin Attal 65a2688be9 Adjust test for new language dict. 10 years ago
  Ben Kurtovic f02dc4497c Fixes. 10 years ago
  Ben Kurtovic 5d8ac664fe HAHA WHAT ARE ITERATORS 10 years ago
  Benjamin Attal 5e6e3fcbf5 Adjust test for new language dict. 10 years ago
  Ben Kurtovic 5a83720617 Strip encoding lines. 10 years ago
  Ben Kurtovic 5d9ef2774d Some fixes, mainly involving language detection. 10 years ago
  Ben Kurtovic 30406483b9 Add unit tests, cleanup. 10 years ago
  Benjamin Attal d127ac94ad 1) All unavailable line numbers and column numbers become -1. 10 years ago
  Benjamin Attal 044a448602 Change the format of the symbols to fit with earwig's issue. 10 years ago
  Benjamin Attal 4cc0626a71 Catch ClassNotFound error in parser __init__.py 10 years ago
  Benjamin Attal b16bc40d3f Consolidate parsers into __init__.py. Update python.py parser. 10 years ago
  Benjamin Attal 71dec1d269 Modify the python parser. Make data more descriptive by adding data 10 years ago
  Benjamin Attal d8b234f462 Update docstrings and parser dispatching in parser init file. 10 years ago
  Benjamin Attal 669c30cac7 Mod: 10 years ago
  Benjamin Attal 63b09caa6c Changed directory structure of java parser. Decided on multiple parsers in different languages, refactored bitshift/parser to fit with that paradigm. 10 years ago
  Benjamin Attal a1066dd093 Modify parser/__init__.py so that it communicates with the Java parsing process and reads a result back from a unique file. Add template files for Java parsers. 10 years ago
  Benjamin Attal 3bc748242d Refactor parser/__init__.py for new parsing mechanism 10 years ago
  Benjamin Attal a8f918f7c4 Update class names. Move language ids to languages.py 10 years ago
  Benjamin Attal 0a57cf50e6 Add first version of the c parser 10 years ago
  Benjamin Attal 847410b13c Minor fix-ups in python parser. 10 years ago
  Benjamin Attal d485b87f21 Fix docstring in bitshift/parser/python.py 10 years ago
  Benjamin Attal b77db873c1 Refactor parsing in python by adding node visitor class. Performs same 10 years ago
  Benjamin Attal 4d8c818c05 Corrected documentation in bitshift/codelet.py and 10 years ago
  Benjamin Attal 5db273a773 Bugfixes for _serialize function in bitshift/parser/python.py 10 years ago
  Benjamin Attal 0c5e4572f8 Add placeholder functions for parsing c and java in bitshift/parser. Add parse_py function with helper functions. Parse_py grabs relevant information on variables, functions, and classes from abstract syntax tree of codelet code. 10 years ago
  Benjamin Attal 903e4ccc05 Add constants in bitshift/config.py for languages instead of just strings. 10 years ago
  Benjamin Attal efdcb3793a Add docstrings for functions in parser. Add ivar for syntax tree to codelet documentation. 10 years ago
  Benjamin Attal d88e68e16e Add dispatch 'parse' function to parser __init__.py. Basic code language identification as well. Included pycparser as a depedency. 10 years ago
  Ben Kurtovic 0c68988982 CREATE THE THINGS 10 years ago