kasl
This is an old revision of the document!
KASL
Reserved Words
- function
- let
- for
- if
- while
- def
- do
- goto
- begin
- end
- Basically, anything you'd find in C/C++/JavaScript/C#
KASL is a functional line evaluator. It is inspired by functional languages, but with a C style function mechanism. It is dynamically typed.
stmt → [ var = ] fn [ ( [val_0 [[,] val_n]* ] ) | val_0 [[,] val_n ] ] stmts → stmt [ ; stmt ]* val → execstmt | literalval | var literalval → object | array | string | number
LEX SYMBOLS : ID | STRING | DOUBLE | INTEGER | WS | TAB | NEWLINE | CHAR
kasl.1695419565.txt.gz · Last modified: 2023/09/22 16:52 by microwerx