Commit Graph

11 Commits (041f4c31fb05b1ce6be0a6eac332568fe7bbe3a8)

Author SHA1 Message Date
Yury Kurlykov 041f4c31fb
Expose `start` and `end` fields in SourceLocation 2020-04-28 04:39:50 +10:00
Yury Kurlykov 6b4865af8d
Print AST as info
Debug channel barely suits for this case.
2020-04-28 04:38:13 +10:00
Yury Kurlykov eea056550c
Implement AST printout
File output coming soon...
2020-04-28 04:28:53 +10:00
Yury Kurlykov 494ed06f28
Implement variable statement AST generation (WIP) 2020-04-28 04:28:14 +10:00
Yury Kurlykov 47d6d31239
Fix a typo in VariableDeclarator type hints 2020-04-28 04:26:33 +10:00
Yury Kurlykov 6414fecbfe
Add AST to ASCII converter 2020-04-28 03:30:37 +10:00
Yury Kurlykov 7f68959590
Make a huge load of changes
- Remove visitors
- Add logging
- Add file read
- Make ESTree nodes work
- Move JS input streams to its own module
- Implement parse tree listeners (WIP)
- Add custom error listener (WIP)
2020-04-27 23:07:15 +10:00
Yury Kurlykov dc7502aa57
Implement ES5 part of JavaScript AST 2020-04-26 23:10:26 +10:00
Yury Kurlykov e10f7cca41
Wake up the snake 2020-04-15 16:45:22 +10:00
Yury Kurlykov 8b88405fc5
Print parsed string tree 2020-04-15 16:32:57 +10:00
Yury Kurlykov 812f5107c3
Initial commit 2020-04-15 16:15:56 +10:00