gluax
|
67fd130c0c
|
had to handle negation of signed integers
|
2022-05-04 14:50:33 -07:00 |
|
gluax
|
2c252f7878
|
all current compiler tests pass, need to add more
|
2022-05-04 13:37:53 -07:00 |
|
gluax
|
9c8ac64871
|
expressions so far, and clean up, need to appropiately handle binary exprs
|
2022-05-04 09:27:00 -07:00 |
|
gluax
|
5cb4a5d8c0
|
run tests so far, fix statements so far
|
2022-05-03 19:32:59 -07:00 |
|
gluax
|
db6292609d
|
refactor symbol variable to variable scope, create new symbol variable
|
2022-05-03 18:39:28 -07:00 |
|
gluax
|
d39ee31933
|
statements almost done, iteration statements causing issues
|
2022-05-03 17:33:46 -07:00 |
|
gluax
|
4612602807
|
type checking errors so far
|
2022-05-03 14:00:40 -07:00 |
|
gluax
|
1a25db8e23
|
start on type checking statements
|
2022-05-03 13:16:13 -07:00 |
|
gluax
|
4fb95d1195
|
initial commit for tc, adds get_type to Node
|
2022-05-03 11:26:56 -07:00 |
|
gluax
|
46bd62870d
|
remove missed access file
|
2022-05-03 09:53:46 -07:00 |
|
gluax
|
a7c3696e90
|
merge testnet3 into required types, also remove identifier type
|
2022-05-02 19:43:46 -07:00 |
|
Collin Chin
|
4617c3ba35
|
Merge pull request #1777 from AleoHQ/fix-spelling
Fix typos uncovered by spell checker in VS Code.
|
2022-05-02 09:29:59 -07:00 |
|
Alessandro Coglio
|
653cc4a2a4
|
Fix typos uncovered by spell checker in VS Code.
|
2022-04-30 23:39:38 -07:00 |
|
collin
|
3da1ac802e
|
reorder dependencies
|
2022-04-29 13:09:27 -07:00 |
|
gluax
|
f57396cf5f
|
resolve pr comments
|
2022-04-29 10:50:33 -07:00 |
|
gluax
|
7e6cc65d54
|
change back to parse_input to reflect what we do for parse_program
|
2022-04-28 12:44:54 -07:00 |
|
gluax
|
8cb8c153fc
|
call appropiate input parse function, make suggested changes
|
2022-04-28 12:26:05 -07:00 |
|
gluax
|
7524a325bf
|
fix grabbing last error
|
2022-04-27 12:31:24 -07:00 |
|
gluax
|
8c7fe53ff6
|
fix leo input parser bug
|
2022-04-27 11:52:06 -07:00 |
|
gluax
|
8c86407b91
|
cleaning up tests, fixed compiler bug, found input parse bug
|
2022-04-27 11:44:05 -07:00 |
|
gluax
|
8275b63e57
|
display for symbol table
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
0fc6d17289
|
some clean up to compiler to be able to better test
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
bd356e1f31
|
need to handle input differently than we used to
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
ae5fbef58a
|
start setting up compiler tests again
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
00282da748
|
merge upstream origin testnet3
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
e0c94b8f15
|
add clear method
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
c36023a3d6
|
exit if any errors were emitted
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
22b20bdd6c
|
handler shows all errors then causes an exit at the end
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
5ec3a24cf8
|
initial commit
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
124e6b2e9b
|
[Impl] Ast Visitor (#1769)
* visitor pattern
* merge upstream, regen grammar readme
* rename reducer to passes
* update comments to properly reflect visitor
* fmt and clippy fixes
* fix comments
Co-authored-by: collin <16715212+collinc97@users.noreply.github.com>
|
2022-04-22 16:05:50 -07:00 |
|
collin
|
f89966fe32
|
merge testnet3
|
2022-04-21 14:37:33 -07:00 |
|
Alessandro Coglio
|
d2cca18f07
|
[AST] Update doc comment to not mention Pest grammar.
|
2022-04-20 22:07:33 -07:00 |
|
Collin Chin
|
23fca6af47
|
Merge pull request #1751 from AleoHQ/abnf-bidi-overrides
[ABNF] disallow bidi override codepoints
|
2022-04-20 09:34:00 -07:00 |
|
collin
|
15660a3ed7
|
cargo fmt
|
2022-04-19 14:01:01 -07:00 |
|
Eric McCarthy
|
4fa12a0b33
|
[lexer] return error if bidi override code point seen in comment, character, or string
|
2022-04-19 13:00:10 -07:00 |
|
gluax
|
98c7ced6fe
|
merge upstream testnet3
|
2022-04-19 12:58:28 -07:00 |
|
Collin Chin
|
645b5a2be7
|
Merge pull request #1750 from AleoHQ/address-check
Address check
|
2022-04-19 12:56:27 -07:00 |
|
Collin Chin
|
f002637d73
|
Merge pull request #1748 from AleoHQ/parser-refactor
Parser: store current + previous tokens
|
2022-04-19 12:55:46 -07:00 |
|
gluax
|
7b849b620c
|
Merge branch 'parser-refactor' of github.com:AleoHQ/leo into feature/warnings
|
2022-04-19 12:47:06 -07:00 |
|
Mazdak Farrokhzad
|
267fda05e7
|
simplify parse_assign_statement
|
2022-04-19 14:11:09 +02:00 |
|
gluax
|
54c936cc61
|
leo warnings, disable unused errors for now
|
2022-04-18 14:06:28 -07:00 |
|
gluax
|
c8b44141eb
|
fix some span and input parsing issues
|
2022-04-18 11:33:43 -07:00 |
|
Collin Chin
|
cd8ac3b8d2
|
remove unused code and dependencies (#1749)
|
2022-04-13 17:08:45 -07:00 |
|
collin
|
065f16a93b
|
cargo fmt
|
2022-04-13 15:25:35 -07:00 |
|
collin
|
f53817c5f5
|
implement real address literal check
|
2022-04-13 15:21:08 -07:00 |
|
collin
|
b6fb3d0a36
|
remove unused code and dependencies
|
2022-04-13 14:28:01 -07:00 |
|
Mazdak Farrokhzad
|
b955b77ac2
|
parser: minor cleanup + span fix
|
2022-04-13 22:52:53 +02:00 |
|
Mazdak Farrokhzad
|
66efa91b08
|
simplify parse_function_parameter_mode
|
2022-04-13 22:27:56 +02:00 |
|
Mazdak Farrokhzad
|
31fcc2f216
|
parser: store (prev_)token
|
2022-04-13 22:20:48 +02:00 |
|
Mazdak Farrokhzad
|
4ac64710b5
|
lazify lexer
|
2022-04-13 21:05:17 +02:00 |
|