Olivier Goffart
|
a39a72b240
|
Fix the syntax_tests to actually match the regexp
The error regexp was not properly matched, being effectively ignoed.
Fixed that and the tests.
Added self tests to syntax_tests.
|
2020-05-26 11:24:37 +02:00 |
|
Olivier Goffart
|
7ba39f0a1c
|
Make sure that we cannot override a property from the base
|
2020-05-26 11:23:54 +02:00 |
|
Olivier Goffart
|
4ea78134d8
|
Recactor the compiler so there are passes
|
2020-05-26 09:40:36 +02:00 |
|
Olivier Goffart
|
dee50a6fe8
|
More fixes to property lookup with components
|
2020-05-26 08:10:37 +02:00 |
|
Olivier Goffart
|
b12e63de52
|
Fix lookup of property within component
|
2020-05-26 07:43:12 +02:00 |
|
Olivier Goffart
|
9e4c355fa1
|
Lookup of quallified id
|
2020-05-25 17:24:31 +02:00 |
|
Simon Hausmann
|
1efa80882e
|
Parse initializers for property declarations
|
2020-05-25 16:42:09 +02:00 |
|
Simon Hausmann
|
b3ee72b6c5
|
Permit bindings on declared properties
At least syntactically :-)
|
2020-05-25 16:42:09 +02:00 |
|
Simon Hausmann
|
88faafe305
|
Fix property declaration storage in the object tree
We need to maintain an associated data structure to permit checking for
duplicate property declarations.
|
2020-05-25 16:42:09 +02:00 |
|
Simon Hausmann
|
a55cad05b9
|
Allow running specific syntax tests
By specifying the relative path as a command line argument, it's easier to
debug a specific case in the IDE.
|
2020-05-25 16:42:09 +02:00 |
|
Simon Hausmann
|
747cf18fcd
|
Small typo fix
(Unkown -> Unknown)
|
2020-05-25 16:42:09 +02:00 |
|
Olivier Goffart
|
19eca01dff
|
Lookup of property within the root component
|
2020-05-25 16:13:17 +02:00 |
|
Olivier Goffart
|
ce657a5b01
|
Add test for failled lookup
|
2020-05-25 15:50:34 +02:00 |
|
Simon Hausmann
|
e6bed90ced
|
Resolve the type in property declarations
... and added int32 as another primitive type.
|
2020-05-25 14:03:01 +02:00 |
|
Simon Hausmann
|
32b99547f1
|
Parse property declarations
For now this uses the syntax
property<qualified type name> name;
|
2020-05-25 12:38:29 +02:00 |
|
Olivier Goffart
|
d8601621c0
|
Use the tool to replace = with :=
|
2020-05-25 10:44:22 +02:00 |
|
Olivier Goffart
|
4575011293
|
More work on signal: the C++ part is working
|
2020-05-20 19:28:58 +02:00 |
|
Olivier Goffart
|
0e85886301
|
Only allow to connect to existing signals
|
2020-05-20 13:36:47 +02:00 |
|
Olivier Goffart
|
efe0ccfb3f
|
Add support for signal in the parser
(currently not doing anything else than parsing)
|
2020-05-20 12:53:08 +02:00 |
|
Olivier Goffart
|
260f17a3e0
|
Support for inline components within a .60 file
|
2020-05-19 17:43:56 +02:00 |
|
Olivier Goffart
|
b9cd725f78
|
Allow to use proc_macro tokens
And report errors
|
2020-05-11 22:24:28 +02:00 |
|
Olivier Goffart
|
1673f12652
|
Implement for loop in the parser
Not yet implemented in the object tree
|
2020-05-11 10:46:42 +02:00 |
|
Olivier Goffart
|
b128a848e2
|
Parse quoted string
|
2020-05-06 18:24:30 +02:00 |
|
Olivier Goffart
|
05624c68ee
|
Add some properties in the Rectangle
|
2020-05-06 17:53:42 +02:00 |
|
Olivier Goffart
|
3a541ec1eb
|
Handle children elements
|
2020-05-06 16:43:04 +02:00 |
|
Olivier Goffart
|
cd670d6012
|
Compiler tests
|
2020-05-05 12:43:42 +02:00 |
|