kwon-young / dmos-prolog Goto Github PK
View Code? Open in Web Editor NEWDMOS implementation in prolog
DMOS implementation in prolog
Exporting at and term_seg implemented with the edcg library into a separate module make the grammar predicate carre unable to call the at and term_seg predicate with the consistent grammar syntax.
Failure example:
swipl main_edcg.pl
Warning: /home/kwon-young/prog/DMOS-prolog/carre_edcg.pl:8:
Redefined static procedure edcg:pred_info/3
Previously defined at /home/kwon-young/prog/DMOS-prolog/epf_edcg.pl:9
Welcome to SWI-Prolog (threaded, 64 bits, version 8.0.1)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit http://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- eval_carre(X, Y, Z).
ERROR: Undefined procedure: carre:term_seg/2
ERROR: However, there are definitions for:
ERROR: carre:term_seg/6
ERROR:
ERROR: In:
ERROR: [10] carre:term_seg(noCond,_614)
ERROR: [9] carre:carre('<garbage_collected>','<garbage_collected>','<garbage_collected>','<garbage_collected>','<garbage_collected>') at /home/kwon-young/prog/DMOS-prolog/carre_edcg.pl:2
0
ERROR: [7] <user>
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
Exception: (10) carre:term_seg(noCond, _176) ?
Meta predicate implemented with prolog dcg form in epf_dcg.pl fails when called with goal that was imported.
Failure example:
swipl main_dcg.pl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.0.1)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit http://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- eval_carre(X, Y, Z).
ERROR: Undefined procedure: epf:noCond/1
ERROR: In:
ERROR: [11] epf:noCond(seg(coor(1,1),coor(10,1)))
ERROR: [10] epf:term_seg(noCond,seg(coor(1,1),coor(10,1)),cursor(coor(0,0),zone(...,...)),_834,[seg(...,...),...|...],_838) at /home/kwon-young/prog/DMOS-prolog/epf_dcg.pl:20
ERROR: [9] carre:carre('<garbage_collected>','<garbage_collected>',_926,'<garbage_collected>',_930) at /home/kwon-young/prog/DMOS-prolog/carre_dcg.pl:17
ERROR: [7] <user>
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
Exception: (11) epf:noCond(seg(coor(1, 1), coor(10, 1))) ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.