GOLD
1 program
Added 2026-03-17T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: GOLD Parsing System, GOLD Parser
Provenance: commit 0466a9d123 · authored 2026-03-17T01:16:55+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
3 sources · pl_id:
pl/goldRelated languages
LLM-contributed programs
Simple Expression Grammar
Provenance: commit 0466a9d123 · authored 2026-03-17T01:16:55+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
"Name" = 'Simple Expression'
"Author" = 'Devin Cook'
"Version" = '1.0'
"About" = 'A simple expression grammar for the GOLD Parsing System'
"Start Symbol" = <Expression>
! -------------------------------------------------
! Character Sets
{ID Head} = {Letter} + [_]
{ID Tail} = {AlphaNumeric} + [_]
! -------------------------------------------------
! Terminal Declarations
Number = {Digit}+
ID = {ID Head} {ID Tail}*
! -------------------------------------------------
! Rules
<Expression> ::= <Expression> '+' <Mult Exp>
| <Expression> '-' <Mult Exp>
| <Mult Exp>
<Mult Exp> ::= <Mult Exp> '*' <Negate Exp>
| <Mult Exp> '/' <Negate Exp>
| <Negate Exp>
<Negate Exp> ::= '-' <Value>
| <Value>
<Value> ::= Number
| ID
| '(' <Expression> ')'
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)