Skip to content

abxsnxper/MLLanguageCoversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MLLanguageCoversion

syntax for the ML language

program: ( program-item )*

program-item: statement | function identifier ( identifier )* ←–tab–→ statement1 ←–tab–→ statement2 ....

statement: identifier "<-" expression | print expression | return expression | functioncall

expression: term [ ("+" | "-") expression ]

term: factor [ ("*" | "/") term ]

factor: realconstant | identifier | functioncall | "(" expression ")"

functioncall: identifier "(" [ expression ( "," expression )* ] ")"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages