Add token-based PEG frontend and CLI source parsing
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 7m30s
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 7m30s
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Parsing produces an AST; it does not execute these functions.
|
||||
function echo(text: String): String {
|
||||
let result = text
|
||||
return result
|
||||
}
|
||||
|
||||
function discountedPrice(price: Number, discount: Number): Number {
|
||||
return price - discount
|
||||
}
|
||||
Reference in New Issue
Block a user