Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 782 Bytes

README.md

File metadata and controls

49 lines (43 loc) · 782 Bytes

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:

; : , | { } ( ) []