Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser fixes #225 #240 #273 #281

Merged
merged 50 commits into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
41b8d5b
starting on parser
Mar 11, 2020
e43b3b5
Expr is now Node
jasonwilliams Mar 11, 2020
6ba5a60
adding next_if
jasonwilliams Mar 12, 2020
6e2d932
updates
jasonwilliams Mar 12, 2020
affa783
parser updates
Mar 13, 2020
dbb156b
updates
jasonwilliams Mar 19, 2020
85ba6d0
adding formal parameters
Mar 19, 2020
96ce050
enough for now
jasonwilliams Mar 20, 2020
376dfad
milestone
jasonwilliams Mar 22, 2020
e31ebac
updating tasks to point to js file, almost finished new parser methods
jasonwilliams Mar 23, 2020
056edd6
Update boa/src/syntax/ast/node.rs
jasonwilliams Mar 23, 2020
895bce2
Update boa/src/syntax/ast/op.rs
jasonwilliams Mar 23, 2020
6c7f2bb
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 23, 2020
4519cb1
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 23, 2020
23d761c
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 23, 2020
e94b10c
Update boa/src/syntax/ast/node.rs
jasonwilliams Mar 23, 2020
6d13d69
using the new parsing methods
jasonwilliams Mar 24, 2020
059ab8c
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 23, 2020
d33ca2e
Update boa/src/syntax/ast/op.rs
jasonwilliams Mar 24, 2020
ff83077
rebased against master
jasonwilliams Mar 24, 2020
92193f3
changing to node
jasonwilliams Mar 24, 2020
0a125c1
Update boa/src/exec/mod.rs
jasonwilliams Mar 24, 2020
d08ec74
changing function.expr to function.node
jasonwilliams Mar 24, 2020
ba55129
Update boa/src/syntax/ast/op.rs
jasonwilliams Mar 24, 2020
6704e88
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
899b426
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
acf1990
Update boa/src/syntax/ast/node.rs
jasonwilliams Mar 24, 2020
46625cf
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
c0b325f
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
4179b6a
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
f6506de
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
9006b76
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
56b5b49
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
254e907
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
9d4c326
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
d5cd639
Update boa/src/exec/mod.rs
jasonwilliams Mar 24, 2020
8303551
Update boa/src/syntax/parser/mod.rs
jasonwilliams Mar 24, 2020
63b8db3
Added indentation and better Display implementation for AST nodes (#282)
Razican Mar 25, 2020
326a13e
Rebase against master
Mar 26, 2020
1b57811
New parser fixes tests failing against #281 (#283)
Razican Mar 27, 2020
50c556b
peek now checks the current token rather than jump ahead
Mar 27, 2020
e18f0c2
* Change Block to statement list
jasonwilliams Mar 27, 2020
464cdc2
addition of Get Tokens and Get AST to tasks
jasonwilliams Mar 27, 2020
82e4aba
Fixes for the new parser (#285)
HalidOdat Mar 29, 2020
0780b5d
LLVM no longer needed in docker image now that its cross platform sup…
jasonwilliams Mar 29, 2020
2b3f622
Fixed all tests (#286)
HalidOdat Mar 30, 2020
e251c8f
Added cursor to parser (#287)
Razican Mar 31, 2020
86df1fc
No need to cast 0 as f64
Razican Mar 31, 2020
8390909
Changed Cursor to take in a &[Token]. (#291)
HalidOdat Mar 31, 2020
221babd
consistent TC39 url
jasonwilliams Mar 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,35 @@
"type": "process",
"label": "Cargo Run",
"command": "cargo",
"args": ["run"],
"args": ["run", "./tests/js/test.js"],
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"clear": true
}
},
{
"type": "process",
"label": "Get Tokens",
"command": "cargo",
"args": ["run", "--", "-t=Debug", "./tests/js/test.js"],
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"clear": true
}
},
{
"type": "process",
"label": "Get AST",
"command": "cargo",
"args": ["run", "--", "-a=Debug", "./tests/js/test.js"],
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
Expand Down
Loading