User Tools

Site Tools


kasl

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