William Desportes
eb79c25361
chore: add silverstripe framework to integration tests ( #186 )
2022-12-09 14:01:58 +00:00
Dominik Zogg
aea2b9cfee
chore: add chubbyphp framework to integration tests ( #184 )
2022-12-09 08:38:20 +01:00
azjezz
d3612edc5c
chore: fmt
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-09 06:49:49 +01:00
Ryan Chandler
cdf422bea8
chore: add wordpress to third party tests
2022-12-09 02:14:09 +00:00
Ryan Chandler
19e9fdf01b
chore: add composer to third party tests
2022-12-09 02:11:44 +00:00
Ryan Chandler
a2f4b37ace
chore: add symfony/polyfill to third party tests
2022-12-09 02:09:47 +00:00
Ryan Chandler
aefa6a89a8
chore: ignore Symfony upstream error
2022-12-09 01:55:47 +00:00
Ryan Chandler
e12abf8873
chore: skip purposeful syntax error in Laravel third party tests
2022-12-09 01:48:18 +00:00
Saif Eddin Gmati
4d0cd75fa9
fix: fix parsing by_ref parameters ( #179 )
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-08 18:07:03 +01:00
Saif Eddin Gmati
2659fdbebb
chore: test against more third party frameworks ( #178 )
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-08 16:50:25 +01:00
Saif Eddin Gmati
e74d0ec18e
chore: refactor expression parser to avoid stack overflow issue ( #177 )
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-08 15:49:54 +01:00
azjezz
ad0623ed20
chore: remove Parser structure
...
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-07 23:11:37 +01:00
Ryan Chandler
3ae4555d81
chore: fmt
2022-12-07 01:02:04 +00:00
Ryan Chandler
385ff84e18
chore: add nikic/PHP-Parser to third party tests
2022-12-07 00:23:52 +00:00
Ryan Chandler
f17fd22cdb
fix: store integers and floats as ByteStrings with notation ( #170 )
2022-12-06 18:13:45 +00:00
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