This commit is contained in:
Eric Christensen
2026-08-02 10:42:42 -07:00
commit e78a41d33c
7 changed files with 5258 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
/bin/
/tmp/
*.exe
+1
View File
@@ -0,0 +1 @@
# Skald
+15
View File
@@ -0,0 +1,15 @@
param(
[ValidateSet("run","build","debug","test","clean")]
[string]$Command = "build"
)
$src = "src"
$out = "bin\parser.exe"
switch ($Command) {
"run" { odin run $src }
"build" { odin build $src -out:$out -o:speed }
"debug" { odin build $src -out:$out -debug }
"test" { odin test .\tests\ -all-packages }
"clean" { Remove-Item -Recurse -Force bin -ErrorAction SilentlyContinue }
}
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/ols.schema.json",
"enable_document_symbols": true,
"enable_hover": true,
"enable_snippets": true
}
+7
View File
@@ -0,0 +1,7 @@
package skald
import "core:fmt"
main :: proc() {
fmt.println("Hello!")
}
+5218
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
package tests
import "core:testing"
@(test)
my_test :: proc(t: ^testing.T) {
}