Commit Graph

  • c7db698884 GDB helpers: fix a pasto Pierre-Marie de Rodat 2020-03-16 14:44:31 +01:00
  • 8bf47a779a Update and complete comments for the rerooting mechanism Pierre-Marie de Rodat 2020-03-16 14:06:31 +01:00
  • ff6ad069a8 grammar/invalid_lkt: remove unused iteration index Pierre-Marie de Rodat 2020-03-13 15:45:31 +01:00
  • 3978fb62b6 grammar/invalid_lexers: extend testcase Pierre-Marie de Rodat 2020-03-13 15:45:14 +01:00
  • dcffaba4a4 Add support for LKT lexers, transition tests Pierre-Marie de Rodat 2020-03-05 04:17:15 -05:00
  • 899c5791e4 Lkt: make StringLit.p_is_regexp_literal public Pierre-Marie de Rodat 2020-03-13 13:46:26 +01:00
  • a6730e92f4 Lkt: document StringLit.p_denoted_value's edge case Pierre-Marie de Rodat 2020-03-13 13:41:46 +01:00
  • 253b4b6f86 Lkt: document the StringLit unique type design Pierre-Marie de Rodat 2020-03-13 13:41:03 +01:00
  • f17112ac60 Lkt: add a TODO in StringLit.p_denoted_value's implementation Pierre-Marie de Rodat 2020-03-13 13:40:28 +01:00
  • 8f9232f99e Regenerate lexer_example.lkt Pierre-Marie de Rodat 2020-03-12 17:30:55 +01:00
  • 7f0417b37a dsl_unparse: fix token kind detection Pierre-Marie de Rodat 2020-03-12 17:30:46 +01:00
  • 3b51a0dc51 Lkt: distinguish @foo and @foo() in syntax trees Pierre-Marie de Rodat 2020-03-12 16:36:21 +01:00
  • d916ccc1f8 Fix a docstring typo Pierre-Marie de Rodat 2020-03-06 10:38:34 -05:00
  • 52da315495 Lkt: create stub declarations for tokens with no simple lexing rule Pierre-Marie de Rodat 2020-03-06 10:15:11 -05:00
  • 71131d6ad8 Fix filename computation when displaying lkt diagnostics Pierre-Marie de Rodat 2020-03-06 10:20:25 -05:00
  • 61ef33b1d7 grammar/case_rule: new testcase Pierre-Marie de Rodat 2020-03-06 05:55:54 -05:00
  • de58c96d16 Testsuite: factorize common lexers in the concrete syntax Pierre-Marie de Rodat 2020-03-06 04:23:24 -05:00
  • 05ca4fbcb1 Slightly change lexer annotation syntax Pierre-Marie de Rodat 2020-03-06 03:48:27 -05:00
  • d366fbfd30 Make concrete syntax unparsing tunable Pierre-Marie de Rodat 2020-03-05 09:28:43 -05:00
  • 6658d0847a Refactor annotations processing Pierre-Marie de Rodat 2020-03-05 08:22:38 -05:00
  • b6a67d2ddd Refactor and improve grammar validity checks/error messages Pierre-Marie de Rodat 2020-02-28 16:47:22 +01:00
  • d770ce9dea Make GDB helpers work with Python3 Pierre-Marie de Rodat 2020-03-12 18:29:16 +01:00
  • 019ce34cd6 setup.py: add coverage.css to package_data Pierre-Marie de Rodat 2020-03-12 14:41:21 +01:00
  • 3ae12509e3 Minor: clean build space for lib*lang before building Raphaël AMIARD 2020-03-09 12:53:21 +01:00
  • fea3298be7 RA22-015: lkt_resolve.py - color errors Raphaël AMIARD 2020-03-11 13:00:32 +01:00
  • b61c67b4ee RA22-015: fix langkit bug in diagnostics Raphaël AMIARD 2020-03-11 12:59:58 +01:00
  • 9d98838fb4 RA22-015: sanity test for internal errors Raphaël AMIARD 2020-03-11 12:59:37 +01:00
  • 1013127b1c RA22-015: check semantic errors in prelude Raphaël AMIARD 2020-03-11 12:58:25 +01:00
  • 73b6e9e5e0 RA22-015: test list/array methods Raphaël AMIARD 2020-03-11 12:57:33 +01:00
  • 4c06fb7efa RA22-015: Add some methods on ASTList Raphaël AMIARD 2020-03-06 14:21:15 +01:00
  • 43dfc6690a RA22-015: Do a check_semantic pass directly in liblktlang Raphaël AMIARD 2020-03-04 12:36:22 +01:00
  • 6469680387 RA22-015: TypingResult -> SemanticResult Raphaël AMIARD 2020-03-04 12:37:31 +01:00
  • 1387d22598 RA22-015: Expand comment Raphaël AMIARD 2020-03-04 12:37:03 +01:00
  • 6fd1cbda25 RA22-015: Add function types Raphaël AMIARD 2020-03-04 10:47:16 +01:00
  • 72d4adc53f Fix Decl.short_image Raphaël AMIARD 2020-03-04 10:59:53 +01:00
  • d9a4365e5e RA22-015: add .length to arrays Raphaël AMIARD 2020-03-04 10:47:01 +01:00
  • d49038c3f3 RA22-015: SymbolType -> Symbol in dsl_unparse Raphaël AMIARD 2020-02-28 17:09:06 +01:00
  • a6f241f077 RA22-015: Boolean -> Bool in dsl_unparse Raphaël AMIARD 2020-02-28 16:41:00 +01:00
  • a27dc927d5 RA22-015: Remove as_bool from unparser result Raphaël AMIARD 2020-02-27 18:29:42 +01:00
  • b47bac6354 RA22-015: Enum class subclasses basic nameres Raphaël AMIARD 2020-02-28 11:59:42 +01:00
  • 11ec546b87 RA22-015: fix referenced_decl on DotExpr Raphaël AMIARD 2020-02-28 11:59:32 +01:00
  • a98dccf1de RA22-015: Add colors to output of lkt_resolve.py Raphaël AMIARD 2020-02-28 11:45:50 +01:00
  • 23553aacb5 RA22-015: improve comment for expr_type_impl Raphaël AMIARD 2020-02-27 18:25:09 +01:00
  • f6e3474bf3 RA22-015: Implement __call__ builtin for call to objects Raphaël AMIARD 2020-02-27 17:33:07 +01:00
  • 2505ad2e44 RA22-015: fix rebindings and generic types fn calls Raphaël AMIARD 2020-02-27 17:33:04 +01:00
  • f22243e5a4 RA22-015: finish implementing function calls Raphaël AMIARD 2020-02-27 17:31:22 +01:00
  • 7e98ba83be Travis CI: update obsolete GNAT Community download URL Pierre-Marie de Rodat 2020-03-05 11:28:15 -05:00
  • 280bc9b7eb Lkt: add an import statement Pierre-Marie de Rodat 2020-02-28 12:17:07 +01:00
  • 3558b8d07c lkt_syntax: move testcase to contrib/ Pierre-Marie de Rodat 2020-02-28 14:43:17 +01:00
  • da9447b749 Liblktlang.Implementation.Extensions: minor reformatting Pierre-Marie de Rodat 2020-02-28 12:06:03 +01:00
  • 00ce77cb29 Lkt: add a default unit provider Pierre-Marie de Rodat 2020-02-28 11:45:50 +01:00
  • a5a0cb8509 Lkt: restore type-inferred list parser: list+(...)/list*(...) Pierre-Marie de Rodat 2020-02-28 04:26:12 -05:00
  • 0612dde534 RA22-015: Make WithText the default token action. Romain Beguet 2020-02-28 12:13:04 +01:00
  • 7287f3f275 RA22-015: Fix syntax of token families. Romain Beguet 2020-02-28 12:04:27 +01:00
  • 4f84fb9e9c RA22-015: Try to infer ValDecls type when it is not provided. Romain Beguet 2020-02-28 11:33:07 +01:00
  • b88a7379e0 RA22-015: Add test cases for regexp typing. Romain Beguet 2020-02-27 18:27:05 +01:00
  • c0cf7a6f0d RA22-015: Add comment in string literals typing. Romain Beguet 2020-02-27 18:26:44 +01:00
  • 2af05a3c90 contrib/lkt_semantic: update obsolete baseline Pierre-Marie de Rodat 2020-02-27 12:36:44 -05:00
  • cd58bb6983 Remove obsolete token prefix code Pierre-Marie de Rodat 2020-02-27 17:17:02 +01:00
  • c91c9fdcc2 Lkt: include node text in RefId's short image Pierre-Marie de Rodat 2020-02-27 11:04:34 -05:00
  • 75d723be37 Move Lkt lowering logic to a new module Pierre-Marie de Rodat 2020-02-27 10:14:26 -05:00
  • 7b274d372e Lkt: change the syntax for grammar pick expressions Pierre-Marie de Rodat 2020-02-27 09:38:09 -05:00
  • db68fe6ba7 langkit.parser: add support for GrammarOptGroup Pierre-Marie de Rodat 2020-02-27 09:48:59 -05:00
  • 8d0ca9eb51 Lkt: change the syntax for grammar list expressions Pierre-Marie de Rodat 2020-02-27 09:15:04 -05:00
  • e51550fae4 RA22-015: Add regexp type and type regexp literals. Romain Beguet 2020-02-27 17:49:41 +01:00
  • f2fd233b9e RA22-015: Generalize typing logic from literals to any expression. Romain Beguet 2020-02-27 17:43:39 +01:00
  • caf9016585 RA22-015: Add helper properties to deal with prefixed strings. Romain Beguet 2020-02-27 17:48:58 +01:00
  • 05bb6b4d57 RA22-015: activate stylechecks on lkt Raphaël AMIARD 2020-02-27 14:08:29 +01:00
  • 34bd3c7460 RA22-015: Type call expressions Raphaël AMIARD 2020-02-26 14:05:28 +01:00
  • 415a171411 RA22-015: Add doc to TypeExpr.designated_type Raphaël AMIARD 2020-02-26 14:00:43 +01:00
  • 809632daf9 RA22-015: Properly type DotExpr Raphaël AMIARD 2020-02-26 13:58:31 +01:00
  • 1eab64d399 RA22-015: Implement full_name on generic instantiations Raphaël AMIARD 2020-02-26 13:57:26 +01:00
  • c352fac76e P506-012: Refactor expr typing mechanism Raphaël AMIARD 2020-02-26 13:52:20 +01:00
  • dcc181d71f RA22-015: Add Decl.full_name & use it in diagnostics Raphaël AMIARD 2020-02-26 13:56:31 +01:00
  • b4bd982f47 RA22-015: Introduce generic instantiation mechanism Raphaël AMIARD 2020-02-26 13:34:44 +01:00
  • 009b4c9b3e RA22-015: Generic decls introduce type decls Raphaël AMIARD 2020-02-26 13:35:28 +01:00
  • 7bcee2f7f8 RA22-015: lowercase enum lits Raphaël AMIARD 2020-02-27 10:43:52 +01:00
  • badb36df51 RA22-015: put grammar name in lowercase Raphaël AMIARD 2020-02-27 10:43:26 +01:00
  • 7777ff411a RA22-015: Fix generic instantiation parsing Raphaël AMIARD 2020-02-27 10:42:05 +01:00
  • c1979589f2 Minor: move grammar rule Raphaël AMIARD 2020-02-27 10:41:47 +01:00
  • 3dfab64e9c RA22-015: Introduce enum classes Raphaël AMIARD 2020-02-27 10:37:30 +01:00
  • caa77ce797 Minor: code formatting Raphaël AMIARD 2020-02-27 10:36:03 +01:00
  • 020642ebcc RA22-015: update langkit.vim file Raphaël AMIARD 2020-02-26 13:28:35 +01:00
  • e35c6b22d4 Propagate concrete syntax locations to lowered parsers Pierre-Marie de Rodat 2020-02-27 12:07:50 +01:00
  • 85448c7b3f Add validation testcases for grammars using the concrete syntax Pierre-Marie de Rodat 2020-02-27 11:40:24 +01:00
  • 4ca0a23a38 Reject abstract nodes in Transform parsers Pierre-Marie de Rodat 2020-02-27 11:34:28 +01:00
  • 3459f459ff contrib/lkt_parse_1: remove testcase Pierre-Marie de Rodat 2020-02-27 04:52:38 -05:00
  • 383670d486 Extend support for LKT grammars, transition tests Pierre-Marie de Rodat 2020-02-25 13:08:33 +01:00
  • 98c7521ef4 DontSkip.traverse_dontskip: add rules without processing locations Pierre-Marie de Rodat 2020-02-26 17:42:27 +01:00
  • b01b60204e Pick/_pick_impl: accept optional location arguments Pierre-Marie de Rodat 2020-02-26 17:46:48 +01:00
  • 402e45bf79 Change the naming convention in the DSL for enum alternative types Pierre-Marie de Rodat 2020-02-26 11:54:51 +01:00
  • 9467a5a42c RA22-015: Add lexer parser and unparser to concrete syntax. Romain Beguet 2020-02-26 15:34:43 +01:00
  • e723071116 RA22-015: Unparse token names in lower case and avoid conflicts. Romain Beguet 2020-02-26 14:42:45 +01:00
  • fed6874e3b dsl_unparse: change the naming convention for grammars Pierre-Marie de Rodat 2020-02-26 11:14:20 +01:00
  • 03514cf10d Extend the concrete syntax to support List parsers' list_cls setting Pierre-Marie de Rodat 2020-02-25 17:25:58 +01:00
  • 084cc1509f dsl_unparse: fix precedence issues with extract parsers Pierre-Marie de Rodat 2020-02-25 16:54:52 +01:00
  • 2d4a11d9cf diagnostics.print_context: honor the diagnostic style for filenames Pierre-Marie de Rodat 2020-02-25 16:41:23 +01:00
  • d8e21b08ba dsl_unparse: fix unparsing of List parsers (switch + and *) Pierre-Marie de Rodat 2020-02-25 15:52:04 +01:00
  • 300edc76f6 Lkt: add support for the discard parser Pierre-Marie de Rodat 2020-02-25 15:47:55 +01:00
  • 5353f6da3a dsl_unparse: preserve grammar rules order Pierre-Marie de Rodat 2020-02-25 15:10:55 +01:00