Giter Site home page Giter Site logo

edcg's People

Contributors

kamahen avatar mndrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

edcg's Issues

-->> can produce non-steadfast code in the presence of cuts

This comment by Richard O'Keefe discusses why the original implementation of DCGs used C/3 instead of pushing the unification into the head:
https://swi-prolog.iai.uni-bonn.narkive.com/cOnL0aGn/push-back-lists-on-dcg-rule-heads

It is possible that a cut in an EDCG body would violate this; whether it's important is not clear.

The implementation of ==>> uses '=/2instead of pushing the unification into the head; because==>>uses=>`, cuts are not likely in the body, so this is less of a problem.

guitrace edcg grammar

Hello and happy new year !

I'm having some trouble tracing graphically a grammar using edcg.

I've described the issue in details here: SWI-Prolog/packages-xpce#24

However, I don't know if the issue is because of edcg or the graphical debugger, hence why this issue.

Thanks for your help !

Syntax error on load

Hi,
I just installed this with:
pack_install(edcg).

using swipl 8.2.4 on linux to my local directory.

Doing:

?- use_module(library(edcg)).
gets me:

ERROR: /home/eddie/.local/share/swi-prolog/pack/edcg/prolog/edcg.pl:54:43: Syntax error: Operator expected
ERROR: /home/eddie/.local/share/swi-prolog/pack/edcg/prolog/edcg.pl:59:33: Syntax error: Operator expected
true.

There seems to be a "=>" that wasn't there before.

Cheers,
Eddie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.