mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
Initial commit
File structure and dummy compiler module.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
input.mdem
|
||||||
19
input.example.mdem
Normal file
19
input.example.mdem
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
- [cap_latvia] What is the capital of Latvia? >
|
||||||
|
- Riga
|
||||||
|
|
||||||
|
- [baltic_capitals] Which countries are Baltic countries? >
|
||||||
|
+ Latvia
|
||||||
|
- Germany
|
||||||
|
- Chechia
|
||||||
|
+ Estonia
|
||||||
|
- Spain
|
||||||
|
|
||||||
|
|> MySection
|
||||||
|
|
||||||
|
- [cap_est] What is the capital the of Estonia? >
|
||||||
|
- Tallin
|
||||||
|
|
||||||
|
<|
|
||||||
|
|
||||||
|
- [cap_lith] What is the capital the of Lithuania? >
|
||||||
|
- Vilnius
|
||||||
0
src/app/.gitkeep
Normal file
0
src/app/.gitkeep
Normal file
7
src/compiler/compiler.go
Normal file
7
src/compiler/compiler.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("Hello from compiler!")
|
||||||
|
}
|
||||||
3
src/compiler/go.mod
Normal file
3
src/compiler/go.mod
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
module github.com/jorenchik/mdemory/src/compiler
|
||||||
|
|
||||||
|
go 1.22.5
|
||||||
Reference in New Issue
Block a user