Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Handling contex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2301 of 2534
Post > Topic >>

Handling context-sensitive constructs with Prolog DCG

by Alessandro <askmeformymail@[EMAIL PROTECTED] > Jan 21, 2008 at 01:27 PM

Hello,

I study the possibility of parsing context-free languages with Prolog.

Head -> Body

I found the DCG (definite clause grammar).

I think that is possible with Prolog to handle context-sensitive construct
:

before Head after -> before Body after

but I seek a *good* exemple in Prolog, perhaps with the langage { a^n
b^n c^n } that is known to be context-sensitive (and not context-free).

Thanks :-)
 




 2 Posts in Topic:
Handling context-sensitive constructs with Prolog DCG
Alessandro <askmeformy  2008-01-21 13:27:03 
Re: Handling context-sensitive constructs with Prolog DCG
Peter Ludemann <p_lude  2008-01-22 07:49:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 19:41:13 CDT 2008.