Skip to content

karthikrangasai/yapl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAPL - Yet Another Programming Language

Language Description

  • KEYWORDS: void, boolean, true, false, integer, float, if, else, for, while, end, function, end_definition, @main, break, continue, return
  • OPERATORS: ~, &, |, %, /, *, +, -, =, =/=, <=, >=, <, >, !, &&, ||, ::, :=
  • DELIMITERS: [], {}, (), ;, ,
  • IDENTIFIERS:
    • VARIABLE IDENTIFIERS: [a-zA-Z][_a-zA-Z0-9]*
    • FUNCTION IDENTIFIERS: @[a-zA-Z][_a-zA-Z0-9]*
  • INTEGER LITERALS: 0 | [1-9][0-9]*
  • FLOAT LITERALS: ( 0 | [1-9][0-9]* ).( 0 | ([0-9]*[1-9]) )
  • STRING LITERALS: "(.|\n)*"

About

YAPL - Yet Another Programming Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published