├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── README.this-stage.md ├── boot.l ├── default.nix ├── doc ├── bootstrap.md ├── compiler.md ├── gc.md ├── glossary.md ├── how.md ├── intro-outline.txt ├── platforms.md └── vm.md ├── manifest.scm ├── source ├── assembler │ ├── gen-x86-instructions.l │ └── x86.l ├── boot-full.l ├── bootstrapping │ ├── early.l │ ├── host-extras.l │ ├── host-ready.l │ ├── late.l │ ├── prepare.l │ └── slave-extras.l ├── buffer.l ├── compiler │ ├── c-ffi.l │ ├── emit-early.l │ ├── emit-finish.l │ ├── emit-late.l │ ├── emit-llvm.l │ ├── emit-x86-64.l │ ├── emit-x86-common.l │ ├── emit-x86-objects.l │ ├── emit-x86.l │ └── target.l ├── control-structures.l ├── conversion-min.l ├── conversion.l ├── debug-min.l ├── destructuring.l ├── env-min.l ├── evaluator │ ├── arrays.l │ ├── eval.l │ ├── gc.l │ ├── primitive-functions.l │ ├── printer.l │ ├── reader.l │ ├── types.l │ ├── vm-early.l │ ├── vm-late.l │ ├── vm-with-file-support.l │ └── vm.l ├── files.l ├── generic.l ├── iteration-min.l ├── iteration.l ├── list-basic.l ├── list-min.l ├── math-min.l ├── parsing │ ├── bootstrap-peg-parser.l │ ├── compile-peg-grammar.l │ ├── maru.g │ ├── parser.l │ ├── peg-compile-forms.l │ └── peg.g ├── platforms │ ├── libc │ │ ├── eval.l │ │ ├── libc.l │ │ ├── profiler.c │ │ └── streams.l │ ├── linux │ │ ├── eval.l │ │ ├── linux.l │ │ ├── profiler.c │ │ ├── streams.l │ │ ├── syscall-llvm.l │ │ ├── syscall-x86-64.l │ │ ├── syscall-x86.l │ │ └── syscall.l │ ├── metacircular │ │ └── metacircular.l │ ├── platform-c-based.l │ └── platform-common.l ├── pretty-print.l ├── printing.l ├── repl.l ├── selector.l ├── sequences-basic.l ├── sequences-min.l ├── sequences.l ├── streams-min-late.l ├── streams-min.l ├── streams.l ├── types.l └── unit-test.l ├── tests ├── compiler-tests.l ├── evaluator-tests.l ├── infra.l ├── jit.l ├── parsing │ ├── gnu-bc-test.l │ └── gnu-bc.g ├── test-elf.IA-32.l └── test-elf.x86-64.l └── tools-for-build ├── Dockerfile.ci ├── Dockerfile.dev ├── file-list-from-require.l └── linker-script.ld /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/README.md -------------------------------------------------------------------------------- /README.this-stage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/README.this-stage.md -------------------------------------------------------------------------------- /boot.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/boot.l -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/default.nix -------------------------------------------------------------------------------- /doc/bootstrap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/bootstrap.md -------------------------------------------------------------------------------- /doc/compiler.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/compiler.md -------------------------------------------------------------------------------- /doc/gc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/gc.md -------------------------------------------------------------------------------- /doc/glossary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/glossary.md -------------------------------------------------------------------------------- /doc/how.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/how.md -------------------------------------------------------------------------------- /doc/intro-outline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/intro-outline.txt -------------------------------------------------------------------------------- /doc/platforms.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/platforms.md -------------------------------------------------------------------------------- /doc/vm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/doc/vm.md -------------------------------------------------------------------------------- /manifest.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/manifest.scm -------------------------------------------------------------------------------- /source/assembler/gen-x86-instructions.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/assembler/gen-x86-instructions.l -------------------------------------------------------------------------------- /source/assembler/x86.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/assembler/x86.l -------------------------------------------------------------------------------- /source/boot-full.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/boot-full.l -------------------------------------------------------------------------------- /source/bootstrapping/early.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/early.l -------------------------------------------------------------------------------- /source/bootstrapping/host-extras.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/host-extras.l -------------------------------------------------------------------------------- /source/bootstrapping/host-ready.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/host-ready.l -------------------------------------------------------------------------------- /source/bootstrapping/late.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/late.l -------------------------------------------------------------------------------- /source/bootstrapping/prepare.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/prepare.l -------------------------------------------------------------------------------- /source/bootstrapping/slave-extras.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/bootstrapping/slave-extras.l -------------------------------------------------------------------------------- /source/buffer.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/buffer.l -------------------------------------------------------------------------------- /source/compiler/c-ffi.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/c-ffi.l -------------------------------------------------------------------------------- /source/compiler/emit-early.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-early.l -------------------------------------------------------------------------------- /source/compiler/emit-finish.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-finish.l -------------------------------------------------------------------------------- /source/compiler/emit-late.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-late.l -------------------------------------------------------------------------------- /source/compiler/emit-llvm.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-llvm.l -------------------------------------------------------------------------------- /source/compiler/emit-x86-64.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-x86-64.l -------------------------------------------------------------------------------- /source/compiler/emit-x86-common.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-x86-common.l -------------------------------------------------------------------------------- /source/compiler/emit-x86-objects.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-x86-objects.l -------------------------------------------------------------------------------- /source/compiler/emit-x86.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/emit-x86.l -------------------------------------------------------------------------------- /source/compiler/target.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/compiler/target.l -------------------------------------------------------------------------------- /source/control-structures.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/control-structures.l -------------------------------------------------------------------------------- /source/conversion-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/conversion-min.l -------------------------------------------------------------------------------- /source/conversion.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/conversion.l -------------------------------------------------------------------------------- /source/debug-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/debug-min.l -------------------------------------------------------------------------------- /source/destructuring.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/destructuring.l -------------------------------------------------------------------------------- /source/env-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/env-min.l -------------------------------------------------------------------------------- /source/evaluator/arrays.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/arrays.l -------------------------------------------------------------------------------- /source/evaluator/eval.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/eval.l -------------------------------------------------------------------------------- /source/evaluator/gc.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/gc.l -------------------------------------------------------------------------------- /source/evaluator/primitive-functions.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/primitive-functions.l -------------------------------------------------------------------------------- /source/evaluator/printer.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/printer.l -------------------------------------------------------------------------------- /source/evaluator/reader.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/reader.l -------------------------------------------------------------------------------- /source/evaluator/types.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/types.l -------------------------------------------------------------------------------- /source/evaluator/vm-early.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/vm-early.l -------------------------------------------------------------------------------- /source/evaluator/vm-late.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/vm-late.l -------------------------------------------------------------------------------- /source/evaluator/vm-with-file-support.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/vm-with-file-support.l -------------------------------------------------------------------------------- /source/evaluator/vm.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/evaluator/vm.l -------------------------------------------------------------------------------- /source/files.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/files.l -------------------------------------------------------------------------------- /source/generic.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/generic.l -------------------------------------------------------------------------------- /source/iteration-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/iteration-min.l -------------------------------------------------------------------------------- /source/iteration.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/iteration.l -------------------------------------------------------------------------------- /source/list-basic.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/list-basic.l -------------------------------------------------------------------------------- /source/list-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/list-min.l -------------------------------------------------------------------------------- /source/math-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/math-min.l -------------------------------------------------------------------------------- /source/parsing/bootstrap-peg-parser.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/bootstrap-peg-parser.l -------------------------------------------------------------------------------- /source/parsing/compile-peg-grammar.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/compile-peg-grammar.l -------------------------------------------------------------------------------- /source/parsing/maru.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/maru.g -------------------------------------------------------------------------------- /source/parsing/parser.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/parser.l -------------------------------------------------------------------------------- /source/parsing/peg-compile-forms.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/peg-compile-forms.l -------------------------------------------------------------------------------- /source/parsing/peg.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/parsing/peg.g -------------------------------------------------------------------------------- /source/platforms/libc/eval.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/libc/eval.l -------------------------------------------------------------------------------- /source/platforms/libc/libc.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/libc/libc.l -------------------------------------------------------------------------------- /source/platforms/libc/profiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/libc/profiler.c -------------------------------------------------------------------------------- /source/platforms/libc/streams.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/libc/streams.l -------------------------------------------------------------------------------- /source/platforms/linux/eval.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/eval.l -------------------------------------------------------------------------------- /source/platforms/linux/linux.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/linux.l -------------------------------------------------------------------------------- /source/platforms/linux/profiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/profiler.c -------------------------------------------------------------------------------- /source/platforms/linux/streams.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/streams.l -------------------------------------------------------------------------------- /source/platforms/linux/syscall-llvm.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/syscall-llvm.l -------------------------------------------------------------------------------- /source/platforms/linux/syscall-x86-64.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/syscall-x86-64.l -------------------------------------------------------------------------------- /source/platforms/linux/syscall-x86.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/syscall-x86.l -------------------------------------------------------------------------------- /source/platforms/linux/syscall.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/linux/syscall.l -------------------------------------------------------------------------------- /source/platforms/metacircular/metacircular.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/metacircular/metacircular.l -------------------------------------------------------------------------------- /source/platforms/platform-c-based.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/platform-c-based.l -------------------------------------------------------------------------------- /source/platforms/platform-common.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/platforms/platform-common.l -------------------------------------------------------------------------------- /source/pretty-print.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/pretty-print.l -------------------------------------------------------------------------------- /source/printing.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/printing.l -------------------------------------------------------------------------------- /source/repl.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/repl.l -------------------------------------------------------------------------------- /source/selector.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/selector.l -------------------------------------------------------------------------------- /source/sequences-basic.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/sequences-basic.l -------------------------------------------------------------------------------- /source/sequences-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/sequences-min.l -------------------------------------------------------------------------------- /source/sequences.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/sequences.l -------------------------------------------------------------------------------- /source/streams-min-late.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/streams-min-late.l -------------------------------------------------------------------------------- /source/streams-min.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/streams-min.l -------------------------------------------------------------------------------- /source/streams.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/streams.l -------------------------------------------------------------------------------- /source/types.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/types.l -------------------------------------------------------------------------------- /source/unit-test.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/source/unit-test.l -------------------------------------------------------------------------------- /tests/compiler-tests.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/compiler-tests.l -------------------------------------------------------------------------------- /tests/evaluator-tests.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/evaluator-tests.l -------------------------------------------------------------------------------- /tests/infra.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/infra.l -------------------------------------------------------------------------------- /tests/jit.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/jit.l -------------------------------------------------------------------------------- /tests/parsing/gnu-bc-test.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/parsing/gnu-bc-test.l -------------------------------------------------------------------------------- /tests/parsing/gnu-bc.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/parsing/gnu-bc.g -------------------------------------------------------------------------------- /tests/test-elf.IA-32.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/test-elf.IA-32.l -------------------------------------------------------------------------------- /tests/test-elf.x86-64.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tests/test-elf.x86-64.l -------------------------------------------------------------------------------- /tools-for-build/Dockerfile.ci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tools-for-build/Dockerfile.ci -------------------------------------------------------------------------------- /tools-for-build/Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tools-for-build/Dockerfile.dev -------------------------------------------------------------------------------- /tools-for-build/file-list-from-require.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tools-for-build/file-list-from-require.l -------------------------------------------------------------------------------- /tools-for-build/linker-script.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/attila-lendvai/maru/HEAD/tools-for-build/linker-script.ld --------------------------------------------------------------------------------