Description:
GOLD is a free parsing system that you can use to develop your own programming languages, scripting languages and interpreters. Please visit the homepage at http://www.devincook.com/goldparser
|
|
|
PyGold
|
| |
I have been trying to use PyGold and keep getting the message: “array
item must be unicode character”. I am using "Character Mapping" =
'Unicode' in the grammar but still have trouble generating Unicode
tables. Does anyone have any suggestions or examples of how to set up
Gold Parser to generate Unicode parser tables?... more »
|
|
php heredoc?
|
| |
Hi,
I’ am wondering if there is a solution to parsing the php heredoc
statement.
<?php
echo <<<BEGIN
html code
BEGIN;
?>
Greeting,
Bas
|
|
Recognizing EOF as <nl>
|
| |
Hi there,
is there any way to make GOLD Parsing System recognize EOF as <nl>?
Im using a line based grammar where every Instruction is delimited by
a NewLine (more precisely <nl> as defined by the wizard.) The problem
is that it cannot be defined in a way that does not require a <nl> at
the end of the file. (I've tried many ways...) Is there some way to... more »
|
|
vb.net grammar, property: possible incorrect rules
|
| |
Your rule set:
! ------------------------------ ------------------------------ -------
! Properties
! ------------------------------ ------------------------------ -------
<Property> ::= <Attributes> <Modifiers> Property ID <Param List>
<Type> <NL> <Property Items> End Property <NL>
<Property Items> ::= <Property Item> <Property Items>... more »
|
|
gold parser & java
|
| |
How do you link a function call in a script with a java function ?
For example, if you have the "l = GetLength(str)" scipt line. How do
you link it with the "Integer GetLength(String str)" java function ?
Thanks for your help
|
|
Terminology
|
| |
This is not really a GP question more of a parsing question.
I'm currently reading the "Red dragon book" (Compiler techniques,
principles..)
I just want to get my head straight when it comes to the word "lexeme"
is the lexeme the actual "content" of a token?
pseudo:
<for> = for | für | foo... more »
|
|
CIL - Compiler construction
|
| |
Incase anyone is interested in .NET compilers.
I've made a small C# demo of how to make a .NET compiler using
GoldParser and Calitha engine
[link]
It uses the "Simple" grammar and can run all the samples provided for
that grammar.
//Roger... more »
|
|
porting from yacc to gold
|
| |
Hi,
I am new to gold,i have already developed a language using lex-
yacc.Now i want to convert it to Gold,How can i do that.?I know that
the gold parser genrates the .cgt file,but i dont know how to use
it.so if anybody knows it please tell me.
Thankyou
|
|
|