compiler

Unnamed Compiled Systems Language Project
git clone http://frotz.net/git/compiler.git
Log | Files | Refs

ModeNameSize
-rw-r--r--.gitignore3L
-rw-r--r--Makefile97L
-rw-r--r--demo/life.src106L
-rw-r--r--docs/bnf.txt101L
-rw-r--r--docs/llvm-live-ranges-of-physical-registers--lattner-2006.txt85L
-rw-r--r--docs/notebook.md271L
-rw-r--r--docs/notes.oberon.compiler.txt29L
-rw-r--r--docs/notes.project.oberon.txt83L
-rw-r--r--docs/notes.txt96L
-rw-r--r--docs/project-oberon-risc5-architecture.txt137L
-rw-r--r--docs/resources-and-inspiration.md79L
-rw-r--r--docs/todo.md52L
-rw-r--r--docs/why-write-a-compiler.md85L
-rw-r--r--external/oberon-risc-emu/LICENSE15L
-rw-r--r--external/oberon-risc-emu/risc5emu-fp.c172L
-rw-r--r--external/oberon-risc-emu/risc5emu-fp.h32L
-rw-r--r--external/oberon-risc-emu/risc5emu.c362L
-rw-r--r--external/oberon-risc-emu/risc5emu.h19L
-rw-r--r--llvm-toys/Makefile22L
-rw-r--r--llvm-toys/bigfunc.c4L
-rw-r--r--llvm-toys/call.c12L
-rw-r--r--llvm-toys/fib.c14L
-rw-r--r--llvm-toys/gcd.c11L
-rw-r--r--llvm-toys/hello.c13L
-rw-r--r--llvm-toys/ssa2.c13L
-rw-r--r--llvm-toys/struct.c12L
-rw-r--r--readme.md55L
-rw-r--r--src/codegen-ir.c1055L
-rw-r--r--src/codegen-risc5-simple.c833L
-rw-r--r--src/compiler.c2916L
-rw-r--r--src/compiler2.c2310L
-rw-r--r--src/fs.c74L
-rw-r--r--src/fs.h30L
-rw-r--r--src/ir.h117L
-rw-r--r--src/mkinstab.c38L
-rw-r--r--src/preproc.c31L
-rw-r--r--src/r5d.c94L
-rw-r--r--src/r5e.c117L
-rw-r--r--src/rewriter.c822L
-rw-r--r--src/risc5.h4L
-rw-r--r--src/risc5dis.c80L
-rw-r--r--src/risc5ins.txt34L
-rw-r--r--test/1000-return-42.log1L
-rw-r--r--test/1000-return-42.src3L
-rw-r--r--test/1010-func-call.log1L
-rw-r--r--test/1010-func-call.src7L
-rw-r--r--test/1011-func-call-forward.log1L
-rw-r--r--test/1011-func-call-forward.src10L
-rw-r--r--test/1012-func-call-builtin.log4L
-rw-r--r--test/1012-func-call-builtin.src6L
-rw-r--r--test/1020-math-1.log10L
-rw-r--r--test/1020-math-1.src22L
-rw-r--r--test/1021-numbers.log24L
-rw-r--r--test/1021-numbers.src27L
-rw-r--r--test/1024-xorshift32.log65L
-rw-r--r--test/1024-xorshift32.src20L
-rw-r--r--test/1025-fibonacci.log25L
-rw-r--r--test/1025-fibonacci.src17L
-rw-r--r--test/1026.fib.iter.log25L
-rw-r--r--test/1026.fib.iter.src23L
-rw-r--r--test/1030-flow-control.log14L
-rw-r--r--test/1030-flow-control.src45L
-rw-r--r--test/1031-logical-and-or.log64L
-rw-r--r--test/1031-logical-and-or.src56L
-rw-r--r--test/1040-structs.log13L
-rw-r--r--test/1040-structs.src52L
-rw-r--r--test/1041-arrays.log18L
-rw-r--r--test/1041-arrays.src26L
-rw-r--r--test/1042-arrays2.log9L
-rw-r--r--test/1042-arrays2.src16L
-rw-r--r--test/1050-enums.log10L
-rw-r--r--test/1050-enums.src20L
-rw-r--r--test/2000-err-decl-mismatch-type.src6L
-rw-r--r--test/2001-err-decl-mismatch-return.src5L
-rw-r--r--test/2002-err-decl-mismatch-count.src6L
-rw-r--r--test/2003-err-decl-mismatch-array.src8L
-rw-r--r--test/2010-err-array-init-too-large.src2L
-rw-r--r--test/2011-err-array-oob-const.src6L
-rw-r--r--test/2020-err-u32-overflow.src3L
-rw-r--r--test/2021-err-u32-hex-overflow.src3L
-rw-r--r--test/2022-err-u32-bin-overflow.src3L
-rw-r--r--test/2030-err-bad-break.src4L
-rw-r--r--test/2031-err-bad-continue.src4L
-rwxr-xr-xtest/runtest.sh52L
-rwxr-xr-xtest/runtest2.sh54L
-rwxr-xr-xtools/diff-codegen7L
-rwxr-xr-xtools/save-tests5L