GOLD (parser)
≈ 1 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
GOLD is a free parsing system that is designed to support multiple programming languages.
GOLD is a free parsing system that is designed to support multiple programming languages. "Name" = 'Simple' "Author" = 'Devin Cook' "Version" = '2.1' "About" = 'This is a very simple grammar designed for use in examples' "Case Sensitive" = False "Start Symbol" = {String Ch 1} = {Printable} - [] {String Ch 2} = {Printable} - ["] Identifier = {Letter}{AlphaNumeric}* ! String allows either single or double quotes StringLiteral = {String Ch 1}* | '"' {String Ch 2}* '"' NumberLiteral = {Number}+('.'{Number}+)? Comment Start = '/*' Comment End = '*/' Comment Line = '//' ::= | ::= display | display read ID | assign ID '=' | while do end | if then end | if then else end ::= '>' | ' | ' | '>=' | '==' | '<>' | ::= '+' | '-' | '&' | ::= '*' | '/' | ::= '-' | ::= Identifier | StringLiteral | NumberLiteral | '(' ')'
Text derived from https://en.wikipedia.org/w/index.php?oldid=1094936832 under CC BY-SA 4.0; modifications have been made.