User Tools

Site Tools


kasl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kasl [2016/10/31 22:47] (current)
47.200.224.152 created
Line 1: Line 1:
 +===== 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.txt ยท Last modified: 2016/10/31 22:47 by 47.200.224.152