summaryrefslogtreecommitdiff
path: root/parser.c
AgeCommit message (Expand)Author
2021-07-23Simplify parsing a bit, and make sure the prolog loader calls read_term with ...Peter Mikkelsen
2021-07-22Big commit changing the way the system is loaded at startup.Peter Mikkelsen
2021-07-21Always use a fresh clausenr for read teams, and make sure to update the claus...Peter Mikkelsen
2021-07-20Add support for character code constants like 0'aPeter Mikkelsen
2021-07-20Add a bit of a hack to the parser so it can parse (a) op arg when a is an ope...Peter Mikkelsen
2021-07-20Support '' in tokensPeter Mikkelsen
2021-07-20Add a new work in progress loader to load all user defined modulesPeter Mikkelsen
2021-07-20Add op/3 and current_op/3Peter Mikkelsen
2021-07-16Make operators local to each module, and implement some more correct prettypr...Peter Mikkelsen
2021-07-08Add a mark-sweep garbage collectorPeter Mikkelsen
2021-07-08Add arithmetic comparison predicatesPeter Mikkelsen
2021-07-08Implement the full arithmetic part of the ISO spec.Peter Mikkelsen
2021-07-07Make functor/3 work according to specPeter Mikkelsen
2021-07-07Add missing pre defined operators from iso prologPeter Mikkelsen
2021-07-06Group clauses into predicates, and create all valid choicepoints at once. Thi...Peter Mikkelsen
2021-07-05Turn integers and floats into seperate term typesPeter Mikkelsen
2021-07-05First step on modules. Still very very rough.Peter Mikkelsen
2021-07-03Start adding support for read_term and write_termPeter Mikkelsen
2021-07-02Begin work on set_prolog_flag/2 and current_prolog_flag/2Peter Mikkelsen
2021-06-30Allow the repl to backtrack to give alternative resultsPeter Mikkelsen
2021-06-30Add comparison predicatesPeter Mikkelsen
2021-06-30Add builtins for typetestsPeter Mikkelsen
2021-06-30Add a standard library with the "builtins" that doesn't really need to be act...Peter Mikkelsen
2021-06-30Give queries another id than clauses, so variable names doesn't clashPeter Mikkelsen
2021-06-30Add a basic replPeter Mikkelsen
2021-06-29Understand :-initialization(Goal) directivePeter Mikkelsen
2021-06-29Add more operatorsPeter Mikkelsen
2021-06-29Make parse return a list of clauses. Also pretty print the entire list of cla...Peter Mikkelsen
2021-06-29Parse terms in parenthesis correctlyPeter Mikkelsen
2021-06-29Parse lists and {a,b,c} syntax (What is this even called?)Peter Mikkelsen
2021-06-29Parse , and make xfy do what it shouldPeter Mikkelsen
2021-06-29Fix some parser errors, and accept clauses without a bodyPeter Mikkelsen
2021-06-29Add a term parser.Peter Mikkelsen
2021-06-28Initial commit. Start working on a new prolog implementation for 9front, now ...Peter Mikkelsen