Commit Graph

  • 4baf8de49e Removal of lexer global variables Javier Miranda 2015-03-04 16:48:15 +00:00
  • af40f012fe Correct logic regarding parser/analysisunit. Raphael Amiard 2015-03-04 11:38:29 +01:00
  • bb02d5a499 Adding state to the parser object Javier Miranda 2015-02-27 09:53:26 +00:00
  • eaca9a6aba Transforming the parser into a C++ object Javier Miranda 2015-02-24 17:44:24 +00:00
  • 33e0989549 Introduce AnalysisContext, refactor AnalysisUnit Raphael Amiard 2015-01-30 15:18:50 +01:00
  • 4b9eedf793 Reformatting: remove all trailing whitespaces Pierre-Marie de Rodat 2015-01-29 17:44:18 +01:00
  • c38bdd4e2d First version of the JSON pretty-printer Raphael Amiard 2015-01-28 22:01:37 +01:00
  • a58bbc81bf Introduce the concept of AnalysisUnit. Raphael Amiard 2015-01-28 16:07:28 +01:00
  • f1b49f8c09 Unhardcode main rule name in interactive_main Raphael Amiard 2015-01-27 12:49:34 +01:00
  • 2278aa1c51 Alternative tree output Javier Miranda 2014-12-12 10:38:33 +00:00
  • 9e399df50f Addition of _parent to the AST nodes Javier Miranda 2014-10-08 15:14:49 +01:00
  • 85dfa74021 Use sys.executable rather than "python" Nicolas Roche 2014-09-19 16:39:27 +02:00
  • 7f4d6c46f8 needs_refcount now a property of CompiledType subclasses Raphael Amiard 2014-09-18 17:29:49 +02:00
  • 7d72ff06a5 Make all our Python code PEP8 compliant Pierre-Marie de Rodat 2014-09-18 13:09:12 +02:00
  • c8d489f260 Adapt compile context to not rely on a soft link to the quex executable Raphael Amiard 2014-09-18 12:43:45 +02:00
  • 8d27ceaecc Cleaning up the Token class Raphael Amiard 2014-09-17 18:08:15 +02:00
  • 574043f60c Modify write_cpp_file, make clang-format optional. Raphael Amiard 2014-09-17 17:37:59 +02:00
  • d654dd9f04 Cleanup: do not handle compiled types as class instances Pierre-Marie de Rodat 2014-09-12 12:13:38 +02:00
  • 6b0a2ae052 Minor cleanup Pierre-Marie de Rodat 2014-09-12 12:13:38 +02:00
  • 23984cc8ba Generate code to compute ASTNode's sloc ranges Pierre-Marie de Rodat 2014-09-07 13:17:10 +02:00
  • e71593cdf9 Fix the execution bit for source files Pierre-Marie de Rodat 2014-09-12 12:18:53 +02:00
  • 7c17ef58da Introduce sloc ranges in ASTNode and add the corresponding primitives Pierre-Marie de Rodat 2014-09-06 20:03:23 +02:00
  • 38fff4bd55 Fix a typo in docstring Pierre-Marie de Rodat 2014-09-15 16:27:21 +02:00
  • 0343c5acf9 Perform a separate ASTNode's fields typing pass Pierre-Marie de Rodat 2014-09-15 16:12:54 +02:00
  • 555aacf8bb Add a consistency check to allow only single inheritance for AST nodes Pierre-Marie de Rodat 2014-09-15 12:19:26 +02:00
  • 6b0e22b92c compiler/parsers.py: Minor documentation addition Pierre-Marie de Rodat 2014-09-06 20:03:23 +02:00
  • 807de21521 Lexer: minor cleanup: rename Token's "_id" field to "id" Pierre-Marie de Rodat 2014-09-11 09:03:54 +02:00
  • 9eacbb3cfa Librarify compiler library and ada part (case 21) Raphael Amiard 2014-09-05 16:53:25 +02:00
  • c1fbafa520 Simplify main by hoisting out the coverage option Raphael Amiard 2014-09-05 14:31:44 +02:00
  • d7da009534 Discard tokens by default in matchers. Raphael Amiard 2014-09-05 12:37:24 +02:00
  • 3be9e7ba5b Get rid of legacy code Raphael Amiard 2014-09-03 17:34:57 +02:00
  • 82873be18e Get rid of the Success parser, use Null instead. Raphael Amiard 2014-09-03 17:30:31 +02:00
  • baf4142708 Grammar: minor refactoring/simplification in the Defer factory Pierre-Marie de Rodat 2014-09-02 15:10:27 +02:00
  • 894d49ce8b Parser: move instance fields to template environment for code generation Pierre-Marie de Rodat 2014-09-02 14:30:26 +02:00
  • 9e6d0b402b Remove support for anonymous row types generation Pierre-Marie de Rodat 2014-09-02 12:45:45 +02:00
  • 9d4262a50a Do not create holders for anonymous rows under Opt/Enum/Discard parsers. Pierre-Marie de Rodat 2014-09-02 12:21:34 +02:00
  • 7146fe858c Parsers: do not mutate existing parsers when combining them. Pierre-Marie de Rodat 2014-09-02 10:03:39 +02:00
  • 4ceb509492 Replace RowType with automatic ASTNode subclasses Pierre-Marie de Rodat 2014-09-02 00:34:51 +02:00
  • 4b3dd2cfa4 Simplify ASTNode subclasses' declarations Pierre-Marie de Rodat 2014-09-01 20:14:54 +02:00
  • 85bdbffa4f Adapt default arguments to minimize field declarations for AST nodes Pierre-Marie de Rodat 2014-09-01 19:25:24 +02:00
  • 5c8d6177dd Remove unused members in the Field class definition and update user code Pierre-Marie de Rodat 2014-09-01 19:19:33 +02:00
  • 813f14c99e Parsers: minor cleanup for dead code and inlining Pierre-Marie de Rodat 2014-09-01 19:15:37 +02:00
  • 7dc9c88f7b Add comments in code generator and refactor lightly Pierre-Marie de Rodat 2014-08-20 22:25:02 +02:00
  • bded8f3615 Add code coverage computation capabilities to the code generator Pierre-Marie de Rodat 2014-09-01 14:56:30 +02:00
  • 4aa8eb205f Libadalang: Refresh the pycharm project and correct a few diagnostics. Raphael Amiard 2014-08-31 19:54:05 +02:00
  • d214a5cf9a Still reorganizing the code base all around (case 4) Raphael Amiard 2014-08-31 19:34:56 +02:00
  • 2a6228ffe0 Unify name for parsers (case 17) Raphael Amiard 2014-08-31 19:05:51 +02:00
  • e2b8f90110 Fix bug in left rec handling Raphael Amiard 2014-08-20 17:53:33 +02:00
  • 2346e527a4 Add support for left recursion in the parser generators. Raphael Amiard 2014-08-19 18:34:16 +02:00
  • aadde62098 Reorganize code base Raphael Amiard 2014-08-11 15:10:00 +02:00
  • 4fe9325670 Remove old useless files. Add tentative API example for future properties DSL. Raphael Amiard 2014-08-11 11:12:40 +02:00
  • 96954c6607 Cleaning and build speed commit. Raphael Amiard 2014-08-08 11:53:29 +02:00
  • f89f6b57ab Refactor the logic for varible sharing with templates Pierre-Marie de Rodat 2014-08-07 15:29:09 +02:00
  • a711d2bf17 Removing obsolete quex lexer directory Raphael Amiard 2014-08-06 21:54:56 +02:00
  • 389baa22f5 Adapt refcounting for revtree lists so as to not leak memory Raphael Amiard 2014-08-06 21:54:37 +02:00
  • ce55ca92ef Cleaning of the code generation part, underway, still WIP but a lot better than before. Main parts are: Raphael Amiard 2014-08-06 21:10:16 +02:00
  • dfa7a5b172 Last pass of warnings suppression: Raphael Amiard 2014-08-06 14:51:01 +02:00
  • defd553c6a Libadalang: Big multi purpose commit. The main purposes are: Raphael Amiard 2014-08-06 12:57:07 +02:00
  • 9734e8114b Native code generator: fix identifiers leak into make template context Pierre-Marie de Rodat 2014-08-06 11:25:54 +02:00
  • ee95377043 Libadalang: Memory management of AST nodes. Raphael Amiard 2014-08-04 15:58:42 +02:00
  • 3032eac72b First commit Raphael Amiard 2014-05-26 21:16:48 +02:00