@@ -34,7 +34,7 @@ pub fn hello() -> string {
34
34
* GödelScript [ Query] ( ./docs/language-reference/queries.md )
35
35
* GödelScript [ Statement] ( ./docs/language-reference/functions.md#statement )
36
36
* GödelScript [ Expression] ( ./docs/language-reference/functions.md#expression )
37
- * GödelScript [ Query Example] ( ./example )
37
+ * GödelScript [ Query Example] ( .. /example )
38
38
* GödelScript [ Syntax Definition] ( ./docs/syntax.md )
39
39
40
40
## Compilation
@@ -43,19 +43,38 @@ Structure of this project:
43
43
44
44
```
45
45
.
46
- |-- dockerFile
47
- |-- docs godel-script documents
48
- |-- godel-backend godel-script backend
49
- | |-- extension godel-script souffle extension
50
- | |-- souffle souffle source code
51
- | +-- tools souffle build tools
52
- +-- godel-frontend godel-script frontend
53
- +-- src godel-frontend source code
46
+ |-- docs godel-script documents
47
+ |-- godel-backend godel-script backend
48
+ | |-- extension godel-script souffle extension
49
+ | |-- souffle souffle source code
50
+ | +-- tools souffle build tools
51
+ +-- godel-frontend godel-script frontend
52
+ +-- src godel-frontend source code
54
53
```
55
54
56
55
Need C++ standard at least ` -std=c++17 ` .
57
56
58
- ### Build Godel Script
57
+ ### Apply Patch On Soufflé Submodule
58
+
59
+ GödelScript uses a self-modified soufflé from a much older branch of public soufflé,
60
+ now we use patch to make sure it could be built successfully.
61
+
62
+ Use this command to apply patch:
63
+
64
+ ``` bash
65
+ cd souffle
66
+ git am ../../0001-init-self-used-souffle-from-public-souffle.patch
67
+ ```
68
+
69
+ Use these commands to revert:
70
+
71
+ ``` bash
72
+ cd souffle
73
+ git apply -R ../0001-init-self-used-souffle-from-public-souffle.patch
74
+ git reset HEAD~
75
+ ```
76
+
77
+ ### Build GödelScript
59
78
60
79
Use command below:
61
80
0 commit comments