Pierre-Marie de Rodat
2e517019ba
Add a testcase for external properties
...
Change-Id: Ia97f476ad5daa858a5063940146e90662255aa09
TN: PC13-017
2016-12-14 10:52:48 +01:00
Pierre-Marie de Rodat
8126a5f0b1
Make it possible to provide extensions in testcases
...
Change-Id: Iee5f7b4e404649174544229654b42bae24d26b93
TN: PC13-017
2016-12-14 10:14:12 +01:00
Raphael Amiard
f032b5fb93
Minor: unfreeze env in reset_langkit
2016-12-07 16:37:42 +01:00
Raphael Amiard
3f6524a7fd
P303-009 - reset_langkit: Correctly reset T TypeRepo
2016-11-16 17:05:32 +01:00
Pierre-Marie de Rodat
2bc95c4908
Remove ASTNode and Struct from holders in StructMetaclass
...
Change-Id: I1b486cb5fe655fda8fce80c942cd3431b07067ac
TN: P622-029
2016-07-07 18:24:54 +02:00
Pierre-Marie de Rodat
229ff60739
StructMetaClass: rename into StructMetaclass (casing)
...
This makes it consistent with CompiledTypeMetaclass. And this is easier
to type!
Change-Id: Ia5d21aa325e1de54ffa653f6ef87dd67f6131d15
TN: P622-029
2016-06-28 16:41:06 +02:00
Raphael Amiard
5d0e7ae96a
P303-009: Modify emit_and_print_errors API
...
Instead of taking the grammar, it now takes a function that creates the
grammar. This allows us to have proper diagnostic handling during the
grammar construction.
Change-Id: Ifbddbda53b24972e5e613b78b72a395bd1a05b2c
2016-05-04 15:21:44 +02:00
Raphael Amiard
67a5a6458c
P429-013: Refactor main rule name selection
...
Change-Id: I0f225cb2ba1e0c46137d66cbf9c3b35c9c17adb7
2016-04-29 15:07:27 +02:00
Pierre-Marie de Rodat
27a2ce9646
Use the testsuite-provided Python interpreter to use gen. libraries
...
Change-Id: I6f293c670867d1d41016555e23f3e59c87516503
TN: P414-008
2016-04-15 17:02:43 +02:00
Pierre-Marie de Rodat
38893464f7
Rename "exported_field" to "library_public_field"
...
To avoid any ambiguity with the "export" word.
Change-Id: If090809c4894232a3b07ed20803320bd905abfcc
TN: P404-023
2016-04-13 12:43:08 +02:00
Pierre-Marie de Rodat
7b65e98889
Add a testcase for the LexicalEnv.get binding in Python
...
Change-Id: I67873b9eae388bae6759b7f6d8909d60e2a93703
TN: P406-021
2016-04-12 16:02:13 +02:00
Pierre-Marie de Rodat
e4e2c28ff1
Testsuite: add helpers to build a lang lib and run a script using it
...
Change-Id: Ic366de700ae04474b315d0f0a6929cebb463abeb
TN: P406-021
2016-04-12 16:02:12 +02:00
Pierre-Marie de Rodat
e330d024c3
Add a test for property privacy checks
...
Change-Id: Ic6b3284a11b4266a47ed87972aa8c2b862136706
TN: P404-013
2016-04-06 12:23:26 +02:00
Raphael Amiard
074f750856
Basis for diagnostic framework in langkit.
...
The aim is to allow:
1. Better error messages for user mistakes, with some context.
2. Clear distinction between user mistakes and internal errors.
This commit just introduces the base infrastructure in diagnostics.py,
and renames user_assert as check_source_language. The base for
introducing context is here, but not yet used.
Change-Id: Ie386fa42253cf6787f30f9166c54cb2522155849
TN: P303-009
2016-03-25 13:28:45 +01:00
Pierre-Marie de Rodat
a835c58128
Add test for Match property expressions input validation
...
Change-Id: I2e04ac941d23b7762c3050f69f400a2a10b9e2aa
TN: P315-031
2016-03-18 16:30:01 +01:00
Pierre-Marie de Rodat
f6feacab39
Create a dedicated testsuite
...
Start it with a single testcase in order to test the framework.
Change-Id: I4f3bf0309e78e9b4827d6800add2060362ac4166
TN: P210-005
2016-02-22 09:57:01 +01:00