WIP
This commit is contained in:
parent
8f9806c515
commit
585843f635
@ -31,6 +31,8 @@ See [ROADMAP.md](ROADMAP.md) for the list of implemented and planned features.
|
|||||||
|
|
||||||
### Quickstart
|
### Quickstart
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use chase_rs::{chase, Atom, Instance, Term};
|
use chase_rs::{chase, Atom, Instance, Term};
|
||||||
use chase_rs::chase::rule::RuleBuilder;
|
use chase_rs::chase::rule::RuleBuilder;
|
||||||
@ -62,7 +64,7 @@ assert!(result.terminated);
|
|||||||
println!("Derived {} facts", result.instance.len());
|
println!("Derived {} facts", result.instance.len());
|
||||||
```
|
```
|
||||||
|
|
||||||
### Existential Rules
|
#### Existential Rules
|
||||||
|
|
||||||
Rules with head-only variables (existential quantification) automatically generate fresh labeled nulls:
|
Rules with head-only variables (existential quantification) automatically generate fresh labeled nulls:
|
||||||
|
|
||||||
@ -74,7 +76,7 @@ let rule = RuleBuilder::new()
|
|||||||
.build();
|
.build();
|
||||||
```
|
```
|
||||||
|
|
||||||
### Usful Commands
|
#### Usful Commands
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Run all tests
|
# Run all tests
|
||||||
@ -90,6 +92,8 @@ make build
|
|||||||
make run
|
make run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
This project is licensed under [BSD-3](LICENSE).
|
This project is licensed under [BSD-3](LICENSE).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user