mirror of
https://github.com/jamiebuilds/the-super-tiny-compiler.git
synced 2024-10-27 20:34:08 +00:00
commit
5e17a4bd8e
@ -321,12 +321,12 @@
|
|||||||
* So let's begin...
|
* So let's begin...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
* (/^▽^)/
|
* (/^▽^)/
|
||||||
* THE TOKENIZER!
|
* THE TOKENIZER!
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We're gonna start off with our first phase of parsing, lexical analysis, with
|
* We're gonna start off with our first phase of parsing, lexical analysis, with
|
||||||
@ -478,7 +478,7 @@ function tokenizer(input) {
|
|||||||
/**
|
/**
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
* ヽ/❀o ل͜ o\ノ
|
* ヽ/❀o ل͜ o\ノ
|
||||||
* THE PARSER!!!
|
* THE PARSER!!!
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -712,7 +712,7 @@ function traverser(ast, visitor) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
* ⁽(◍˃̵͈̑ᴗ˂̵͈̑)⁽
|
* ⁽(◍˃̵͈̑ᴗ˂̵͈̑)⁽
|
||||||
* THE TRANSFORMER!!!
|
* THE TRANSFORMER!!!
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
@ -835,7 +835,7 @@ function transformer(ast) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
* ヾ(〃^∇^)ノ♪
|
* ヾ(〃^∇^)ノ♪
|
||||||
* THE CODE GENERATOR!!!!
|
* THE CODE GENERATOR!!!!
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
@ -895,8 +895,8 @@ function codeGenerator(node) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
* (۶* ‘ヮ’)۶”
|
* (۶* ‘ヮ’)۶”
|
||||||
* !!!!!!!!THE COMPILER!!!!!!!!
|
* !!!!!!!!THE COMPILER!!!!!!!!
|
||||||
* ============================================================================
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user