This commit is contained in:
mehbark 2025-04-08 12:39:09 -04:00
commit 6c93d38e81
6 changed files with 20 additions and 0 deletions

3
Bytecode.lean Normal file
View file

@ -0,0 +1,3 @@
-- This module serves as the root of the `Bytecode` library.
-- Import modules here that should be built as part of the library.
import Bytecode.Basic

1
Bytecode/Basic.lean Normal file
View file

@ -0,0 +1 @@
def hello := "world"

4
Main.lean Normal file
View file

@ -0,0 +1,4 @@
import Bytecode
def main : IO Unit :=
IO.println s!"Hello, {hello}!"

1
README.md Normal file
View file

@ -0,0 +1 @@
# bytecode

10
lakefile.toml Normal file
View file

@ -0,0 +1,10 @@
name = "bytecode"
version = "0.1.0"
defaultTargets = ["bytecode"]
[[lean_lib]]
name = "Bytecode"
[[lean_exe]]
name = "bytecode"
root = "Main"

1
lean-toolchain Normal file
View file

@ -0,0 +1 @@
leanprover/lean4:v4.16.0-rc2