Skgland
49dcd9bb4a
address problems brought up in review
2021-03-11 16:16:31 +01:00
Skgland
8f41603101
add more tests
...
for some of the recently closed issues
2021-03-11 01:52:22 +01:00
Skgland
d437609365
improve comment
2021-03-11 01:52:21 +01:00
Skgland
e1c681fffe
clean up tests/
...
give helper function a more descriptive name
2021-03-11 01:52:21 +01:00
Skgland
40e5a2dc35
workaround to make num tests work
2021-03-03 01:18:24 +01:00
Skgland
5a78f02dcb
revert removal of PartialEq
2021-02-28 19:21:32 +01:00
Skgland
0a08464d4f
move the signal handler to the binary
2021-02-28 19:21:31 +01:00
Skgland
a638d42d92
remove #[allow(dead_code)]
...
only commenting out the unused variant as `OptArgIndexKeyType`
as it appears to mirror `OptArgIndexKey` and there List is not unused
so this appears to be not yet used rather than obsolete
2021-02-28 19:21:31 +01:00
Skgland
90256ea2f5
fix CI lib build with beta compiler
2021-02-28 19:21:31 +01:00
Skgland
90aefd35f0
adjust ci
2021-02-28 19:21:30 +01:00
Skgland
2f428b7261
split into lib and bin
...
* makes most pub things in src/ pub(crate) as not to expose things accidentally
* only those things needed by src/bin/scryer-prolog.rs and tests/scryer.rs
should be pub
* split src/main.rs into src/lib.rs and src/bin/scryer-prolog.rs
* add tests folder and run most of the files in src/tests with cargo test
added bytes method to Stream in src/machine/streams.rs to check if stdout is as expected
2021-02-28 19:21:30 +01:00
Skgland
5041042925
rename prolog_parser_rebis to prolog_parser
...
also remove remaining extern crate statements that slipped through earlier
2021-02-06 22:13:34 +01:00
Skgland
0d983e63a1
fix incorrect rug path
2021-02-06 22:13:06 +01:00
Skgland
3f7a60d84b
more clippy lints
2021-02-06 22:13:06 +01:00
Skgland
1eb9fcf521
more clippy lints
2021-02-06 22:13:06 +01:00
Skgland
1571690bbb
fix clippy lint match|if let looks like matches! macro
2021-02-06 22:13:05 +01:00
Skgland
eb2133e648
fix clippy lint Manual RangeInclusive::contains implementation
2021-02-06 22:13:05 +01:00
Skgland
9107b3ddbe
fix some clippy lint warnings
2021-02-06 22:13:05 +01:00
Skgland
64433bd8dd
fix macro hygien
2021-02-06 22:13:04 +01:00
Skgland
bc6159c538
change prolog_parse_rebis to use 2018 edition rust
...
so all crates use the same edition
2021-02-06 22:13:04 +01:00
Skgland
8e5954f36f
remove use statements from main.rs that temporary replaced extern crate and fixed paths that previously used them
2021-02-06 22:13:04 +01:00
Skgland
b53ef148a0
remove extern crate declaration and fix outfall (macros now need to be imported into scope)
...
using use declarations in main.rs so that use paths don't need to be updated as well, this will be done in a later commit
2021-02-06 22:12:31 +01:00