Commit Graph

39 Commits

Author SHA1 Message Date
Ryan Chandler
b254e59bde
parser+lexer: support match expressions
Closes #16.
2022-08-04 00:21:10 +01:00
Ryan Chandler
38bf05f9f7
lexer: produce doc comments 2022-08-02 00:14:24 +01:00
Ryan Chandler
223df961ce
rs: experiment with a PHP to Rust to binary compiler 2022-07-29 16:32:25 +01:00
Ryan Chandler
0322e3c805
parser: support normal for statements 2022-07-28 20:13:08 +01:00
Ryan Chandler
16283d1273
parser: support equals/identical and not variant expressions 2022-07-28 17:01:40 +01:00
Ryan Chandler
d955cd28da
parser: support prefix expressions like ! 2022-07-28 16:08:14 +01:00
Ryan Chandler
a6fc1b58f1
parser: reorganise poor expression handling 2022-07-28 15:52:45 +01:00
Ryan Chandler
30afcce2d5
parser: support array indexing 2022-07-28 15:44:46 +01:00
Ryan Chandler
39c7d9887d
parser: support static method calls, property fetches and constants 2022-07-28 14:42:14 +01:00
Ryan Chandler
fc731c468d
parser: ensure function statements only parse when followed by an ident
Closes #12
2022-07-28 13:53:46 +01:00
Ryan Chandler
b4e11bd6bd
parser: support use list in closures 2022-07-28 13:38:16 +01:00
Ryan Chandler
abd1559f31
parser: support foreach statements 2022-07-28 12:29:44 +01:00
Ryan Chandler
479b323cd9
parser: support variadic function params
Closes #9
2022-07-28 01:04:20 +01:00
Ryan Chandler
fbc48a5db5
parser: support empty / simplest switch statement 2022-07-28 00:30:32 +01:00
Domantas
ba3ae0ee06 parser: support else if statements 2022-07-26 14:39:22 +02:00
Ryan Chandler
074a84c42c
Merge pull request #2 from Dohxis/parser/if-else-statements 2022-07-26 12:15:07 +01:00
Domantas
be71eff76c parser: support else statements 2022-07-26 12:48:37 +02:00
Ryan Chandler
ce57758042
parser: support method calls 2022-07-26 11:29:42 +01:00
Ryan Chandler
2d332f90e4
parser: support property fetches 2022-07-26 11:21:05 +01:00
Ryan Chandler
570433de1c
parser: support basic new expressions 2022-07-25 19:15:09 +01:00
Ryan Chandler
5bba0f7269
parser: support long and short closures 2022-07-25 19:00:26 +01:00
Ryan Chandler
d20e35d1a8
parser: basic support for trait uses in classes 2022-07-25 17:01:36 +01:00
Ryan Chandler
a9ced4460a
parser: support full trait-definitions 2022-07-25 14:30:47 +01:00
Ryan Chandler
04d2d46472
parser: support empty trait definitions 2022-07-25 14:22:52 +01:00
Ryan Chandler
79e726054b
parser: support interface statements with extends 2022-07-25 01:08:10 +01:00
Ryan Chandler
201a89fc4d
parser: support a fuller class parsing structure 2022-07-25 00:46:10 +01:00
Ryan Chandler
2948a2e0af
parser: support types on class var statements 2022-07-24 19:41:05 +01:00
Ryan Chandler
e15aafc3f3
parser: support function return types 2022-07-23 16:13:35 +01:00
Ryan Chandler
cb2fb3b8c9
parser: support intersection type-strings 2022-07-23 16:04:21 +01:00
Ryan Chandler
14a57a6c9c
parser: support union type strings 2022-07-23 16:01:11 +01:00
Ryan Chandler
13d0aa21cd
parser: support nullable types 2022-07-23 15:51:16 +01:00
Ryan Chandler
8e1b13f715
parser: support basic type strings 2022-07-23 15:49:27 +01:00
Ryan Chandler
8042a6f33f
parser: support namespace statements with blocks or one-liners 2022-07-22 16:44:26 +01:00
Ryan Chandler
92b457c87a
lexer: support more flags 2022-07-19 22:17:18 +01:00
Ryan Chandler
97c148e099
lexer+parser: support basic assoc arrays 2022-07-19 16:39:55 +01:00
Ryan Chandler
3430522e52
lexer+parser: basic support for lists 2022-07-19 16:37:32 +01:00
Ryan Chandler
2b2ec2253f
parser: basic class prop support with var 2022-07-19 15:58:20 +01:00
Ryan Chandler
2a62892738
parser: support expression statements 2022-07-19 15:53:34 +01:00
Ryan Chandler
fedc2c01ec
phpast: init 2022-07-19 15:29:20 +01:00