1
0
mirror of https://github.com/Baidicoot/rpncalc-v4 synced 2024-12-12 11:10:26 +00:00

redid comments to be consistent

This commit is contained in:
Aidan K. Ewart 2020-05-20 12:07:07 +01:00
parent 7f8fb253b5
commit 8ccdd657dd

View File

@ -9,6 +9,7 @@ convert:
{type:"int",val:1},
{type:"int",val:2},
{type:"ident",name:"+"},
{type:"syntax",val:"'"},
{type:"syntax",val:"("},
{type:"ident",name:"name"},
{type:"syntax",val:";"},
@ -28,11 +29,12 @@ to:
{type:"int", val:1},
{type:"int", val:2},
{type:"builtin", op:"+"},
{type:"func", name:"name", args:["args"], body:[
{type:"int", val:1},
{type:"ident", val:"args"},
{type:"builtin", op:"+"},
}]},
{type:"push", elem:
{type:"func", name:"name", args:["args"], body:[
{type:"int", val:1},
{type:"ident", val:"args"},
{type:"builtin", op:"+"},
}}]}}
]
EXPORTED FUNCTIONS: