Skip to content

odaiwa/FreeContextGrammar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeContextGrammar


you can find the Description of the language in Language.pdf

This manual describes the syntax and (some) semantics of a simple procedural language.

Lexical Description.
bool
char
int
real
string
int*
char*
real*
if
else
while
var
func
proc
return
null

Operator Lexemes:
&& and
|| or
! not
/ division
= Assignment
== Equals
> Greater
>= Greater or Equal
< Less
<=Less or Equal
- Minus
!= Not Equal
+ Plus
* Multiplication
& Address
^ Dereference
Comment Form :
/%This is a Comment%/

Other Lexemes:

; : , | { } ( ) []