COuld you please migrate the POC as well
ZA

On Thursday, December 11, 2014 11:09:22 PM UTC-5, Durand Jean-Damien wrote:
>
> The MarpaX::Languages::SQL::AST repository will disappear in favour of 
> MarpaX::Languages::SQL2003::AST 
> <https://github.com/jddurand/MarpaX-Languages-SQL2003-AST> - please retry 
> with the later.
> JD.
>
> Le jeudi 4 décembre 2014 18:37:51 UTC+1, Zeev Atlas a écrit :
>>
>> Hi all
>> I am new to Marpa, so I may be trying to chew too much, but my question 
>> is of general nature.
>> I am interested ultimately in parsing SQL (not running it, just parsing 
>> into structures that I could than analyze.)  So I wrote a simple program 
>> that strip the SQL 2003 BNF file (http://savage.net.au/SQL/sql-2003-2.bnf) 
>> from irrelevant data and try to feed it to Marpa as is.
>>
>> In the BNF I have clauses like this:
>> <percent> ::= %
>> which I already figured out I need to change to something like
>> <percent> ::= '%'
>>
>> My issue is the infamous clauses:
>>
>> <space> ::= 
>> or worse
>> <quote> ::= '
>>
>> Could somebody tell me please how should I deal with those
>> note that 
>> <space> ::= ' ' and <quote> ::= ''' or <quote> ::= '''' do not work
>>
>> BTW, if anybody already did a full featured (not specific dialect) SQL 
>> parser (SQL::Statement is a relatively incomplete subset) or knows about 
>> such one, please let me know.  Also, I am looking for dialect specific full 
>> BNF files if available
>>
>> Thanks all 
>> ZA
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to