Simon Hausmann
|
1baab9823a
|
Another small typo fix :)
|
2020-06-10 12:05:44 +02:00 |
|
Olivier Goffart
|
0e67a0ecbc
|
Block comments
|
2020-06-08 10:40:02 +02:00 |
|
Olivier Goffart
|
dc276290e9
|
Add support for self assignment (+=, -=, ...)
|
2020-05-28 17:02:06 +02:00 |
|
Olivier Goffart
|
95b671c97c
|
Support for code blocks and signal call
|
2020-05-28 12:30:08 +02:00 |
|
Olivier Goffart
|
92697ec6b0
|
Add some code to parse statements in blocks (separated with semicolon)
|
2020-05-28 07:22:08 +02:00 |
|
Olivier Goffart
|
250b0a2e5b
|
Rust macro: get the right span for the diagnostics
Merge the features proc_macro_span and proc_macro_diagnostics, they are the same.
|
2020-05-27 18:37:45 +02:00 |
|
Olivier Goffart
|
9e4c355fa1
|
Lookup of quallified id
|
2020-05-25 17:24:31 +02:00 |
|
Olivier Goffart
|
11e5ce5887
|
Rename the CondeStatement syntax node to BindingExpression
This is the right-hand-side of a binding, and it is a pure expression.
Statements will be reserved for signals
|
2020-05-25 14:58:26 +02:00 |
|
Olivier Goffart
|
1de4eb476b
|
Lookup of identifier is now done while resolving expressions
|
2020-05-25 14:37:09 +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 |
|
Simon Hausmann
|
5accea4cdd
|
Add support for qualified type names to the parser
|
2020-05-25 11:53:44 +02:00 |
|
Olivier Goffart
|
dd756ef112
|
Adapt the parser to parse := instead of =
|
2020-05-25 10:46:00 +02:00 |
|
Olivier Goffart
|
270c626c6c
|
Make the Parser a trait
Because the rowan::GreenNode is read-only but i want to use the parser
to generate something that can be mutated
|
2020-05-22 15:31:27 +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
|
300cd9653a
|
Move the expression parse funciton in their own module
|
2020-05-20 12:30:30 +02:00 |
|
Olivier Goffart
|
a4569ddca3
|
BangExpression allow for finding relative paths
|
2020-05-19 15:36:56 +02:00 |
|
Olivier Goffart
|
8bcd4b1115
|
CI: build with all features
|
2020-05-12 08:23:51 +02:00 |
|
Olivier Goffart
|
dbada7977e
|
Fix C++ build
|
2020-05-12 08:03:18 +02:00 |
|
Olivier Goffart
|
b9cd725f78
|
Allow to use proc_macro tokens
And report errors
|
2020-05-11 22:24:28 +02:00 |
|
Olivier Goffart
|
6cf327166e
|
Parser: add support for parentheses in expressions
|
2020-05-11 11:19:57 +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
|
a9690a2fa3
|
Add a bunch of comments
|
2020-05-07 14:39:54 +02:00 |
|
Olivier Goffart
|
bdaf14ae23
|
Parse numbers
|
2020-05-07 09:06:58 +02:00 |
|
Olivier Goffart
|
b128a848e2
|
Parse quoted string
|
2020-05-06 18:24:30 +02:00 |
|
Olivier Goffart
|
3a541ec1eb
|
Handle children elements
|
2020-05-06 16:43:04 +02:00 |
|
Olivier Goffart
|
f0b5a9fee9
|
Use the parser_test only in test mode
So it does not have to be published on crate.io
|
2020-05-05 16:37:49 +02:00 |
|
Olivier Goffart
|
cd670d6012
|
Compiler tests
|
2020-05-05 12:43:42 +02:00 |
|
Olivier Goffart
|
3a6d39bfe9
|
Generate an object tree
|
2020-05-05 11:18:13 +02:00 |
|
Olivier Goffart
|
b7633f78d6
|
parse() returns a rowan::SynstaxNode
|
2020-05-05 09:21:04 +02:00 |
|
Olivier Goffart
|
081310e3ac
|
Use codemap to show diagnostics
|
2020-05-04 20:14:29 +02:00 |
|
Olivier Goffart
|
684d516fee
|
Small cleanups to get rid of the .0
|
2020-05-04 19:36:32 +02:00 |
|
Olivier Goffart
|
e76b2e5c0f
|
Use a macro to declare the token so each token is declared next to its regexp
|
2020-05-04 19:11:58 +02:00 |
|
Olivier Goffart
|
e1b7949864
|
proc_macro to have parser tests
|
2020-05-04 17:11:02 +02:00 |
|
Olivier Goffart
|
112613712f
|
Move the actual parsing in its own file
|
2020-05-04 14:44:34 +02:00 |
|
Olivier Goffart
|
1b69df8087
|
Parsing: The small example parses
|
2020-05-04 14:40:32 +02:00 |
|
Olivier Goffart
|
fbf0eebfd5
|
Draft of the parser
|
2020-05-04 14:30:05 +02:00 |
|