mirror of
https://github.com/Baidicoot/rpncalc-v4
synced 2025-01-05 21:30:31 +00:00
redid comments to be consistent
This commit is contained in:
parent
7f8fb253b5
commit
8ccdd657dd
12
parse.js
12
parse.js
@ -9,6 +9,7 @@ convert:
|
|||||||
{type:"int",val:1},
|
{type:"int",val:1},
|
||||||
{type:"int",val:2},
|
{type:"int",val:2},
|
||||||
{type:"ident",name:"+"},
|
{type:"ident",name:"+"},
|
||||||
|
{type:"syntax",val:"'"},
|
||||||
{type:"syntax",val:"("},
|
{type:"syntax",val:"("},
|
||||||
{type:"ident",name:"name"},
|
{type:"ident",name:"name"},
|
||||||
{type:"syntax",val:";"},
|
{type:"syntax",val:";"},
|
||||||
@ -28,11 +29,12 @@ to:
|
|||||||
{type:"int", val:1},
|
{type:"int", val:1},
|
||||||
{type:"int", val:2},
|
{type:"int", val:2},
|
||||||
{type:"builtin", op:"+"},
|
{type:"builtin", op:"+"},
|
||||||
{type:"func", name:"name", args:["args"], body:[
|
{type:"push", elem:
|
||||||
{type:"int", val:1},
|
{type:"func", name:"name", args:["args"], body:[
|
||||||
{type:"ident", val:"args"},
|
{type:"int", val:1},
|
||||||
{type:"builtin", op:"+"},
|
{type:"ident", val:"args"},
|
||||||
}]},
|
{type:"builtin", op:"+"},
|
||||||
|
}}]}}
|
||||||
]
|
]
|
||||||
|
|
||||||
EXPORTED FUNCTIONS:
|
EXPORTED FUNCTIONS:
|
||||||
|
Loading…
Reference in New Issue
Block a user