firescript
Version:
Firescript transpiler
59 lines (58 loc) • 756 B
JSON
[
{
"type": "comment",
"value": "# A function"
},
{
"type": "indention",
"value": 0
},
{
"type": "identifier",
"value": "func"
},
{
"type": "identifier",
"value": "foo"
},
{
"type": "punctuator",
"value": "("
},
{
"type": "punctuator",
"value": ")"
},
{
"type": "indention",
"value": 1
},
{
"type": "comment",
"value": "# Returns foo"
},
{
"type": "indention",
"value": 1
},
{
"type": "comment",
"value": "# End of comment"
},
{
"type": "indention",
"value": 1
},
{
"type": "identifier",
"value": "return"
},
{
"type": "literal",
"value": "'foo'"
},
{
"type": "indention",
"value": 0
}
]