Anton Medvedev and GitHub
696844a709
Refactor lexer ( #653 )
2024-05-17 18:10:26 +02:00
Anton Medvedev and GitHub
68e3148c1f
Vendor testify ( #642 )
2024-05-08 00:24:35 +02:00
Ganesan Karuppasamy and GitHub
650a7f5ac1
Fix -1 not in [] expressions ( #590 )
2024-03-04 14:40:33 +01:00
Sergey and GitHub
26bfa591a9
Support chzained comparisonc1 < 2 < 3 ( #581 )
2024-02-27 14:23:49 +01:00
Sergey and GitHub
8d2e6b133c
Add optional array access like foo?.[42] ( #550 )
2024-02-08 12:20:20 +01:00
Sergey and GitHub
a0e2fe3664
Fix string literal slicing error ( #543 )
2024-01-31 18:07:26 +01:00
Ganesan Karuppasamy and GitHub
9b73bb722e
Remove parents field for optimization ( #527 )
2024-01-16 12:47:46 +01:00
Anton Medvedev and GitHub
e7b1a64b58
Allow to override builtins ( #522 )
...
* Allow to override builtins
* Add :: syntax to access builtin in case of override
2024-01-13 15:56:49 +01:00
Anton Medvedev and GitHub
30be4c9f08
Remove redundant fields from CallNode and BinaryNode ( #504 )
2023-12-29 19:50:08 +01:00
a0db9a6c19
feat: Implement Bitwise and Shift Operator Support ( #496 )
...
Co-authored-by: Ganesan Karuppasamy <[email protected] >
2023-12-25 18:25:26 +01:00
Ganesan Karuppasamy and GitHub
57a6bc8f7d
Incorporate support for raw string literals ( #485 )
2023-12-25 18:05:25 +01:00
591e36fc00
Enhance the number parser to include support for parsing hexadecimal, binary, and octal literals. ( #483 )
...
* Enhance the number parser to include support for parsing hexadecimal, binary, and octal literals.
* added invalid literal test cases
* Refactoring code as per comment
---------
Co-authored-by: Ganesan Karuppasamy <[email protected] >
2023-12-08 18:33:50 +01:00
Anton Medvedev
551d2a7e0f
Use expr-lang/expr
2023-12-03 21:53:01 +01:00
Anton Medvedev
4683fbe2bf
Add parsing support for pointer names
2023-08-24 15:27:00 +02:00
Anton Medvedev
ed5f9bfbcb
Add variables
2023-08-22 22:30:07 +02:00
Anton Medvedev
4ae978d384
Allow to disable builtins
2023-08-19 22:24:42 +02:00
Anton Medvedev
bac96c2c29
Add expr.ExperimentalPipes() config
2023-08-15 15:39:59 +02:00
Anton Medvedev
8177d8bd9f
Add OpCallBuiltin opcode to avoid an extra allocation
2023-08-14 11:50:42 +02:00
Anton Medvedev and GitHub
86f7951db2
Add pipe operator ( #400 )
2023-08-13 01:17:49 +02:00
Anton Medvedev
95f8b7ff17
Add nil coalescing operator
2023-02-03 15:53:43 +01:00
Anton Medvedev
16a6690333
Make closure brackets optional
2023-01-29 22:38:21 +01:00
Anton Medvedev
72a4ce18e9
Add len() builtin
2023-01-29 20:34:15 +01:00
Anton Medvedev
54c29bfda2
Simplify "not in" operators
2022-11-06 13:04:35 +01:00
Anton Medvedev
2c402d27db
Fix parser for 0x6E int
2022-11-05 20:40:29 +01:00
Anton Medvedev
371e24c30d
Add ^ as exponent operator
2022-11-05 20:21:48 +01:00
Anton Medvedev
f11639bf0e
Fix exponent operator precedence
...
Now -2^2 == -4
2022-11-05 20:17:11 +01:00
Anton Medvedev
d9bd9e021c
Add ternary operator test
2022-10-22 22:07:32 +02:00
Anton Medvedev
873d4eecac
wip
2022-10-15 20:31:04 +02:00
Anton Medvedev
ab621bec0e
Optional chaining
2022-10-15 15:59:39 +02:00
Anton Medvedev
e11960b91f
wip
2022-10-15 13:37:07 +02:00
Anton Medvedev
360e0c27c3
Add ?. in lexer
2022-10-14 16:23:41 +02:00
Anton Medvedev
6a7630dba1
Remove ast nodes
2022-10-10 20:26:59 +02:00
Anton Medvedev
b24419bf76
Remove wrong nil safe implementation
2022-10-09 12:53:30 +02:00
Anton Medvedev
56127510a5
Refactor tests and start refactoring nil safe operator
2022-10-09 12:28:51 +02:00
Vladimir Fetisov and GitHub
6adbfc5b37
acceptWord checks the rune after word ( #184 )
2021-06-15 23:57:54 +03:00
Zach Badgett and GitHub
3eb822d35a
Add nil safe operator ( #173 )
2021-06-07 22:53:12 +03:00
Anton Medvedev
f7dd5eed88
Add support for trailing comma in arrays and maps
2020-03-04 09:15:19 +03:00
Anton Medvedev
63af25a9cc
Fix exponent parse error
2020-03-02 13:47:15 +03:00
Anton Medvedev
602e5d37a6
Fix fast call type checker and add error message to pointer accessor outside closure
2020-02-25 13:50:59 +03:00
Anton Medvedev
3c734b49a9
Improve error messages for eof
2020-02-25 09:33:17 +03:00
Anton Medvedev
1d47269725
Fix debugger tool
2020-02-25 09:33:17 +03:00
Anton Medvedev
0809f2c91b
Refactor to use new parser
2020-02-25 09:33:17 +03:00
Anton Medvedev
9025060692
Refactor parser error tests
2020-02-25 09:33:17 +03:00
Anton Medvedev
9d3d522ff6
Add # operator support
2020-02-25 09:33:17 +03:00
Anton Medvedev
aaf5d24ecb
Reimplement expr parser
2020-02-25 09:33:17 +03:00
Anton Medvedev
e2f2207d81
goimports
2019-07-02 14:34:48 +03:00
Anton Medvedev
82236d001f
Improve constant folding algorithm
2019-06-26 10:17:39 +03:00
Anton Medvedev
b79ca26ff0
Add slice operator
2019-06-25 14:49:03 +03:00
Anton Medvedev
67e80a303f
Improve parser and add correct unescape function
2019-06-25 14:07:46 +03:00
Anton Medvedev
50f83299ac
Move back to github host
2019-06-22 14:25:58 +03:00