Initial commit

File structure and dummy compiler module.
This commit is contained in:
jorenchik
2024-08-03 18:40:40 +03:00
commit 430fcd26bf
5 changed files with 30 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
input.mdem

19
input.example.mdem Normal file
View 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
View File

7
src/compiler/compiler.go Normal file
View File

@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello from compiler!")
}

3
src/compiler/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module github.com/jorenchik/mdemory/src/compiler
go 1.22.5