Commit Graph

57 Commits

Author SHA1 Message Date
notoria
c98e869564 Implemented the Debug trait for all data structures 2020-04-26 02:20:24 +02:00
Mark Thom
d3a9392421 provide read_term_from_chars/2 (#334) 2020-04-12 17:26:11 -06:00
Mark Thom
7621155a89 change wording of QueryCannotBePostedAsFact to QueryCannotBeDefinedAsFact, remove old commented code in read.rs 2020-04-12 16:01:53 -06:00
Mark Thom
6e4b76a3b4 compile special instructions for partial strings when recognized 2020-04-11 21:53:28 -06:00
Mark Thom
141f3bcec3 harmonize partial strings with complete strings (#276), make Addr a copyable type 2020-04-03 10:22:46 -06:00
Mark Thom
194e5dc94e initial commit for merge 2020-03-26 22:01:23 -06:00
Mark Thom
25babff827 add streams.rs, consume them in place of the old PrologStream 2020-03-09 11:56:16 -06:00
Mark Thom
8902bcb5ab use raw_block.rs for the heap backend 2020-02-16 16:30:36 -07:00
Mark Thom
b71e8082d2 prolog_parser version bump 2020-02-04 23:35:03 -07:00
Yu Ding
adb469f627 Upgrade to edition. Bump up edition in Cargo.toml 2019-10-14 00:23:32 -07:00
Yu Ding
9b789629c9 Fix some old Rust codes
Done by cargo fix using nightly-2019-10-04 toolchain. Fixed ... to ..=, trait object to dyn trait object
2019-10-09 14:56:50 -07:00
Mark Thom
9a83ccbdbc make *.pl files in src/prolog/lib available from libraries.rs 2019-09-26 23:10:04 -06:00
Mark Thom
2c1c1b7d12 migrate to rustyline, add history support 2019-09-26 11:25:05 -06:00
Atul Bhosale
1273e2d52d Format code using 'cargo fmt' 2019-09-23 19:35:37 +07:00
Mark Thom
a757b92c9d fix read module if readline is not present 2019-09-03 15:18:43 -06:00
Mark Thom
2c880b2bc0 address issues #143, #150, #155 2019-09-02 16:53:31 -04:00
Mark Thom
c8c8c5abae address issues #104, #105, #103 2019-04-20 20:13:19 -03:00
Mark Thom
ae90554378 read from streams. 2019-04-13 18:40:17 -06:00
Mark Thom
fb0b7085b4 fix more conformity errors 2019-04-06 17:44:04 -06:00
Mark Thom
b45c591c89 update writer 2019-03-29 22:49:33 -06:00
Mark Thom
33b581effc enable an option to disable readline 2019-03-21 19:46:42 -06:00
Mark Thom
c7ebd59b4a set rl_startup_hook only once 2019-03-17 18:09:48 -06:00
Mark Thom
fd703c3610 make toplevel more consistent with answers, depend on readline package without renaming. 2019-03-17 17:49:51 -06:00
Mark Thom
840b98dcf3 update readline.rs version 2019-03-17 15:22:31 -06:00
Mark Thom
2927387a66 use the updated readline.rs 2019-03-17 15:01:10 -06:00
Mark Thom
4a7cd50e4b use new readline crate 2019-03-17 14:50:57 -06:00
Mark Thom
2fad1c724c use the readline library at toplevel 2019-03-16 19:12:06 -06:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00
Mark Thom
2fb5408ab5 add assertz/1 and asserta/1 2019-03-02 00:27:40 -07:00
Mark Thom
818a971833 start enabling the dynamic database 2019-02-28 21:49:07 -07:00
Mark Thom
023fec0d9d fix term expansion bug 2019-02-17 00:55:22 -07:00
Mark Thom
c5fbff505b expand goals in queries and queues 2019-02-01 23:36:51 -07:00
Mark Thom
fcffb90549 add atts.pl, various fixes 2019-01-30 21:31:48 -07:00
Mark Thom
0dabb3f370 add op info to structures and atoms 2019-01-19 22:27:40 -07:00
Mark Thom
a4406f784a add support for user:goal_expansion 2018-12-09 00:48:28 -07:00
Mark Thom
3140c65f67 correctly handle anonymous variables when reading 2018-10-15 22:13:58 -06:00
Mark Thom
720426648e correctly handle anonymous variables when reading 2018-10-15 22:11:55 -06:00
Mark Thom
c85eba0e22 remove need for taking code_dir 2018-10-06 16:25:10 -06:00
Mark Thom
4bd805cc76 remove need for RefCell wrapping on CodeDir 2018-10-04 21:43:49 -06:00
Mark Thom
bf0521fde6 move atom_tbl up to Machine 2018-10-04 19:36:58 -06:00
Mark Thom
4d57989c2b term_expansion beginnings 2018-09-22 16:25:32 -06:00
Mark Thom
908972eff1 incorporate term_expansion phase in compilation 2018-09-18 22:44:03 -06:00
Mark Thom
43ba8f23dc correct ordinary input 2018-09-17 20:24:58 -06:00
Mark Thom
1e2047e72c streamline inputs. 2018-09-13 19:44:50 -06:00
Mark Thom
ccbc0566ba provisional changes #2 2018-09-12 23:31:29 -06:00
Mark Thom
fbf16e2aea provisional changes to module insertion 2018-09-12 20:46:15 -06:00
Mark Thom
3f06ff874b make use of read_term in the repl 2018-09-10 00:18:17 -06:00
Mark Thom
664f0f83dc read modifications 2018-09-08 19:46:34 -06:00
Mark Thom
33d1a7c701 add structural tests for partial strings, rename ast.rs 2018-09-04 21:20:45 -06:00
Mark Thom
ff9d2662e6 farm parser out to a crate, remove it as a git submodule. 2018-09-03 21:58:07 -06:00