/ysl

simple language

Primary LanguageC++GNU General Public License v3.0GPL-3.0

YSL

Yeti's Simple Language

build options

type=lib

compiles YSL as a library

curl=off

disables the curl extension so libcurl is not required for compilation

syntax

# for comments

function calls:

functionName foo bar baz

variables:

print $myvar

string literals from variables

print !myvar

character to integer

print &A
# prints 65

interpreter defined variables

__platform is a variable to show what platform YSL is running on, it can be one of the following

  • __platform_windows
  • __platform_apple
  • __platform_linux
  • __platform_unix
  • __platform_unknown

standard library documentation

Documentation