User Tools

Site Tools


kasl
no way to compare when less than two revisions

Differences

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


Next revision
kasl [2016/10/31 21:47] – created 47.200.224.152
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: 2023/09/22 16:53 by microwerx

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki