├── .github └── workflows │ └── ci.yml ├── .gitignore ├── GNUmakefile ├── LICENSE ├── Papyrus.lean ├── Papyrus ├── Builders.lean ├── Context.lean ├── ExecutionEngineRef.lean ├── FFI.lean ├── GenericValueRef.lean ├── IR.lean ├── IR │ ├── AddressSpace.lean │ ├── Align.lean │ ├── ArgumentRef.lean │ ├── BasicBlockRef.lean │ ├── CallingConvention.lean │ ├── ConstantRef.lean │ ├── ConstantRefs.lean │ ├── FunctionRef.lean │ ├── GlobalModifiers.lean │ ├── GlobalRefs.lean │ ├── GlobalVariableRef.lean │ ├── InstructionKind.lean │ ├── InstructionModifiers.lean │ ├── InstructionRef.lean │ ├── InstructionRefs.lean │ ├── ModuleRef.lean │ ├── Type.lean │ ├── TypeBases.lean │ ├── TypeID.lean │ ├── TypeRef.lean │ ├── TypeRefs.lean │ ├── Types.lean │ ├── ValueKind.lean │ └── ValueRef.lean ├── Init.lean ├── Internal │ └── Enum.lean ├── MemoryBufferRef.lean ├── Script.lean └── Script │ ├── AddressSpace.lean │ ├── Do.lean │ ├── Dump.lean │ ├── Function.lean │ ├── GlobalModifiers.lean │ ├── Instructions.lean │ ├── IntegerType.lean │ ├── Jit.lean │ ├── Label.lean │ ├── Module.lean │ ├── ParserUtil.lean │ ├── SyntaxUtil.lean │ ├── Type.lean │ ├── Value.lean │ └── Verify.lean ├── README.md ├── c ├── Makefile ├── include │ ├── papyrus.h │ └── papyrus_ffi.h └── src │ ├── adt.cpp │ ├── basic_block.cpp │ ├── bitcode.cpp │ ├── constant.cpp │ ├── context.cpp │ ├── execution_engine.cpp │ ├── function.cpp │ ├── generic_value.cpp │ ├── global.cpp │ ├── global_variable.cpp │ ├── init.cpp │ ├── instruction.cpp │ ├── memory_buffer.cpp │ ├── module.cpp │ ├── type.cpp │ └── value.cpp ├── leanWithPlugin.sh ├── leanpkg.toml ├── plugin ├── Makefile └── PapyrusPlugin.lean └── test ├── .gitignore ├── Makefile ├── common.sh ├── main └── program.lean ├── out └── script │ ├── dump.lean │ ├── dump.lean.expected.out │ ├── jit.lean │ ├── jit.lean.expected.out │ ├── program.lean │ ├── program.lean.expected.out │ ├── type.lean │ ├── type.lean.expected.out │ ├── value.lean │ ├── value.lean.expected.out │ ├── verify.lean │ └── verify.lean.expected.out ├── run └── ir │ ├── basicBlockRef.lean │ ├── constantRefs.lean │ ├── functionRef.lean │ ├── globalVariableRef.lean │ ├── instructionRefs.lean │ ├── moduleRef.lean │ └── types.lean ├── test_main.sh ├── test_out.sh └── test_run.sh /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /GNUmakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/GNUmakefile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/LICENSE -------------------------------------------------------------------------------- /Papyrus.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus.lean -------------------------------------------------------------------------------- /Papyrus/Builders.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Builders.lean -------------------------------------------------------------------------------- /Papyrus/Context.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Context.lean -------------------------------------------------------------------------------- /Papyrus/ExecutionEngineRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/ExecutionEngineRef.lean -------------------------------------------------------------------------------- /Papyrus/FFI.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/FFI.lean -------------------------------------------------------------------------------- /Papyrus/GenericValueRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/GenericValueRef.lean -------------------------------------------------------------------------------- /Papyrus/IR.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR.lean -------------------------------------------------------------------------------- /Papyrus/IR/AddressSpace.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/AddressSpace.lean -------------------------------------------------------------------------------- /Papyrus/IR/Align.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/Align.lean -------------------------------------------------------------------------------- /Papyrus/IR/ArgumentRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ArgumentRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/BasicBlockRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/BasicBlockRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/CallingConvention.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/CallingConvention.lean -------------------------------------------------------------------------------- /Papyrus/IR/ConstantRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ConstantRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/ConstantRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ConstantRefs.lean -------------------------------------------------------------------------------- /Papyrus/IR/FunctionRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/FunctionRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/GlobalModifiers.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/GlobalModifiers.lean -------------------------------------------------------------------------------- /Papyrus/IR/GlobalRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/GlobalRefs.lean -------------------------------------------------------------------------------- /Papyrus/IR/GlobalVariableRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/GlobalVariableRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/InstructionKind.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/InstructionKind.lean -------------------------------------------------------------------------------- /Papyrus/IR/InstructionModifiers.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/InstructionModifiers.lean -------------------------------------------------------------------------------- /Papyrus/IR/InstructionRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/InstructionRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/InstructionRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/InstructionRefs.lean -------------------------------------------------------------------------------- /Papyrus/IR/ModuleRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ModuleRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/Type.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/Type.lean -------------------------------------------------------------------------------- /Papyrus/IR/TypeBases.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/TypeBases.lean -------------------------------------------------------------------------------- /Papyrus/IR/TypeID.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/TypeID.lean -------------------------------------------------------------------------------- /Papyrus/IR/TypeRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/TypeRef.lean -------------------------------------------------------------------------------- /Papyrus/IR/TypeRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/TypeRefs.lean -------------------------------------------------------------------------------- /Papyrus/IR/Types.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/Types.lean -------------------------------------------------------------------------------- /Papyrus/IR/ValueKind.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ValueKind.lean -------------------------------------------------------------------------------- /Papyrus/IR/ValueRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/IR/ValueRef.lean -------------------------------------------------------------------------------- /Papyrus/Init.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Init.lean -------------------------------------------------------------------------------- /Papyrus/Internal/Enum.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Internal/Enum.lean -------------------------------------------------------------------------------- /Papyrus/MemoryBufferRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/MemoryBufferRef.lean -------------------------------------------------------------------------------- /Papyrus/Script.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script.lean -------------------------------------------------------------------------------- /Papyrus/Script/AddressSpace.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/AddressSpace.lean -------------------------------------------------------------------------------- /Papyrus/Script/Do.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Do.lean -------------------------------------------------------------------------------- /Papyrus/Script/Dump.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Dump.lean -------------------------------------------------------------------------------- /Papyrus/Script/Function.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Function.lean -------------------------------------------------------------------------------- /Papyrus/Script/GlobalModifiers.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/GlobalModifiers.lean -------------------------------------------------------------------------------- /Papyrus/Script/Instructions.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Instructions.lean -------------------------------------------------------------------------------- /Papyrus/Script/IntegerType.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/IntegerType.lean -------------------------------------------------------------------------------- /Papyrus/Script/Jit.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Jit.lean -------------------------------------------------------------------------------- /Papyrus/Script/Label.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Label.lean -------------------------------------------------------------------------------- /Papyrus/Script/Module.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Module.lean -------------------------------------------------------------------------------- /Papyrus/Script/ParserUtil.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/ParserUtil.lean -------------------------------------------------------------------------------- /Papyrus/Script/SyntaxUtil.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/SyntaxUtil.lean -------------------------------------------------------------------------------- /Papyrus/Script/Type.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Type.lean -------------------------------------------------------------------------------- /Papyrus/Script/Value.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Value.lean -------------------------------------------------------------------------------- /Papyrus/Script/Verify.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/Papyrus/Script/Verify.lean -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/README.md -------------------------------------------------------------------------------- /c/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/Makefile -------------------------------------------------------------------------------- /c/include/papyrus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/include/papyrus.h -------------------------------------------------------------------------------- /c/include/papyrus_ffi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/include/papyrus_ffi.h -------------------------------------------------------------------------------- /c/src/adt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/adt.cpp -------------------------------------------------------------------------------- /c/src/basic_block.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/basic_block.cpp -------------------------------------------------------------------------------- /c/src/bitcode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/bitcode.cpp -------------------------------------------------------------------------------- /c/src/constant.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/constant.cpp -------------------------------------------------------------------------------- /c/src/context.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/context.cpp -------------------------------------------------------------------------------- /c/src/execution_engine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/execution_engine.cpp -------------------------------------------------------------------------------- /c/src/function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/function.cpp -------------------------------------------------------------------------------- /c/src/generic_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/generic_value.cpp -------------------------------------------------------------------------------- /c/src/global.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/global.cpp -------------------------------------------------------------------------------- /c/src/global_variable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/global_variable.cpp -------------------------------------------------------------------------------- /c/src/init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/init.cpp -------------------------------------------------------------------------------- /c/src/instruction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/instruction.cpp -------------------------------------------------------------------------------- /c/src/memory_buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/memory_buffer.cpp -------------------------------------------------------------------------------- /c/src/module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/module.cpp -------------------------------------------------------------------------------- /c/src/type.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/type.cpp -------------------------------------------------------------------------------- /c/src/value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/c/src/value.cpp -------------------------------------------------------------------------------- /leanWithPlugin.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/leanWithPlugin.sh -------------------------------------------------------------------------------- /leanpkg.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/leanpkg.toml -------------------------------------------------------------------------------- /plugin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/plugin/Makefile -------------------------------------------------------------------------------- /plugin/PapyrusPlugin.lean: -------------------------------------------------------------------------------- 1 | import Papyrus 2 | -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | /tmp 2 | *.produced.out 3 | -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/common.sh -------------------------------------------------------------------------------- /test/main/program.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/main/program.lean -------------------------------------------------------------------------------- /test/out/script/dump.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/dump.lean -------------------------------------------------------------------------------- /test/out/script/dump.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/dump.lean.expected.out -------------------------------------------------------------------------------- /test/out/script/jit.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/jit.lean -------------------------------------------------------------------------------- /test/out/script/jit.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/jit.lean.expected.out -------------------------------------------------------------------------------- /test/out/script/program.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/program.lean -------------------------------------------------------------------------------- /test/out/script/program.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/program.lean.expected.out -------------------------------------------------------------------------------- /test/out/script/type.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/type.lean -------------------------------------------------------------------------------- /test/out/script/type.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/type.lean.expected.out -------------------------------------------------------------------------------- /test/out/script/value.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/value.lean -------------------------------------------------------------------------------- /test/out/script/value.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/value.lean.expected.out -------------------------------------------------------------------------------- /test/out/script/verify.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/verify.lean -------------------------------------------------------------------------------- /test/out/script/verify.lean.expected.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/out/script/verify.lean.expected.out -------------------------------------------------------------------------------- /test/run/ir/basicBlockRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/basicBlockRef.lean -------------------------------------------------------------------------------- /test/run/ir/constantRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/constantRefs.lean -------------------------------------------------------------------------------- /test/run/ir/functionRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/functionRef.lean -------------------------------------------------------------------------------- /test/run/ir/globalVariableRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/globalVariableRef.lean -------------------------------------------------------------------------------- /test/run/ir/instructionRefs.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/instructionRefs.lean -------------------------------------------------------------------------------- /test/run/ir/moduleRef.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/moduleRef.lean -------------------------------------------------------------------------------- /test/run/ir/types.lean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/run/ir/types.lean -------------------------------------------------------------------------------- /test/test_main.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | source ${BASH_SOURCE%/*}/common.sh 3 | 4 | exec_check lean ${LEAN_OPTS} --run -j 0 "$f" 5 | -------------------------------------------------------------------------------- /test/test_out.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tydeu/lean4-papyrus/HEAD/test/test_out.sh -------------------------------------------------------------------------------- /test/test_run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | source ${BASH_SOURCE%/*}/common.sh 3 | 4 | exec_check lean ${LEAN_OPTS} -j 0 "$f" 5 | --------------------------------------------------------------------------------