Commit Graph

15 Commits

Author SHA1 Message Date
Saif Eddin Gmati
9a2a903fb9
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-06 09:33:29 +01:00
Ryan Chandler
737d5fadf2
chore: skip a file because of HEREDOCS 2022-12-05 19:30:13 +00:00
azjezz
3b303acc02
fix: clone third-party libs to target/third-party
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 19:55:40 +01:00
azjezz
f92b8c4c73
fix improve dnf types parser
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 19:46:21 +01:00
Ryan Chandler
5ae183cead
chore: skip some third party tests 2022-12-05 14:48:46 +00:00
Ryan Chandler
b1f10231e0
parser: allow passing array items by ref 2022-12-05 13:55:35 +00:00
Ryan Chandler
5815f65737
fix: various bits 2022-12-05 13:46:48 +00:00
Ryan Chandler
435a3aa12b
chore: temporarily skip some stuff 2022-12-05 13:39:59 +00:00
azjezz
7ab417c801
fix: formatting
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 13:37:05 +01:00
Ryan Chandler
9ad4ee7bc8
chore: allow skipping certain files in third party tests 2022-12-05 11:59:28 +00:00
azjezz
23dda4d603
fix: formatting
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 07:17:19 +01:00
Ryan Chandler
f65d8eefc0
chore: add laravel framework as third party test 2022-12-05 00:18:20 +00:00
Saif Eddin Gmati
77ff227bc0 feat: make parser, and lexer immutable 2022-12-04 08:56:53 +00:00
Saif Eddin Gmati
ac42958b4f chore: refactor project structure
- added `prelude`
- moved `ast` to `parser`
- moved `Lexer` from `crate::lexer::lexer::Lexer` to `crate::lexer::Lexer`
- renamed `LexerError` to `SyntaxError`
- moved `SyntaxError` to `token::error`
- implemented `Display` for `SyntaxError`
- add `tokens.txt` to integration tests
- removed all unit tests for `Lexer` ( everything is tested in integration tests )
- improved syntax error assertations
2022-12-04 08:56:53 +00:00
Saif Eddin Gmati
3df5a46eeb
chore: test against third party libraries (#138) 2022-11-30 00:17:34 +00:00