summaryrefslogtreecommitdiff
path: root/loader.pl
AgeCommit message (Collapse)Author
2021-07-23Simplify parsing a bit, and make sure the prolog loader calls read_term with ↵Peter Mikkelsen
the correct module to pick up the correct operators
2021-07-22Silence warning about singleton variables in system.pl and loader.plPeter Mikkelsen
2021-07-22Big commit changing the way the system is loaded at startup.Peter Mikkelsen
1) The loader and system modules are loaded by the C directly into the user module 2) The system module is then loaded with the loader from the user module 3) The loader module is then loaded with the loader from the user module 4) The repl is then loaded with the loader from the loader module 5) The user module is cleared
2021-07-22Implement halt/0, halt/1, and understand the --no-repl flagPeter Mikkelsen
2021-07-22Use addgoals to add the goal in catch/3 to the goalstack, allowing mod:pred ↵Peter Mikkelsen
goals too
2021-07-22Understand set_prolog_flag directivePeter Mikkelsen
2021-07-22Understand initialization/1 directivesPeter Mikkelsen
2021-07-22Make predicates private and static by default, and make them dynamic when ↵Peter Mikkelsen
using the dynamic/1 predicate
2021-07-22Warn about singleton variables in clauses, as it is often a sign of a ↵Peter Mikkelsen
mis-spelling
2021-07-22Actually load repl.pl with the prolog loader, and handle module directivesPeter Mikkelsen
2021-07-22Use the prolog loader to load the repl.Peter Mikkelsen
2021-07-20Add a new work in progress loader to load all user defined modulesPeter Mikkelsen