aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-06-27Add nothing type.David Robillard1-8/+13
Only actually compile down to LLVM if main program is typed. git-svn-id: http://svn.drobilla.net/resp/tuplr@152 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-27More CPS conversion work.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@151 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-26More CPS conversion work.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@150 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-25Sanify AST constructors.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@149 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-24Funcs => AFn::ImplsDavid Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@146 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Make backend an object.David Robillard1-94/+89
git-svn-id: http://svn.drobilla.net/resp/tuplr@142 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Tidy.David Robillard1-3/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@141 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Clean separation between backend and CEnv (no more CEnv methods defined in ↵David Robillard1-64/+31
llvm.cpp). git-svn-id: http://svn.drobilla.net/resp/tuplr@140 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Remove redundant module pointer.David Robillard1-3/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@139 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20More sanification of front/back end separation.David Robillard1-67/+63
git-svn-id: http://svn.drobilla.net/resp/tuplr@138 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Move alloc function to backend.David Robillard1-9/+12
git-svn-id: http://svn.drobilla.net/resp/tuplr@137 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Shorten AST names to match code names.David Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@136 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Tidy.David Robillard1-7/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@135 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Fix building with explicit stack frames.David Robillard1-9/+7
Tidy. git-svn-id: http://svn.drobilla.net/resp/tuplr@134 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Move eval and repl to tuplr.cpp (non-backend dependent code).David Robillard1-118/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@133 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Better abstraction for low-level code generation stuff (make repl and eval ↵David Robillard1-80/+82
not backend specific). git-svn-id: http://svn.drobilla.net/resp/tuplr@132 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Accurate garbage collection of types without special (kludge) tag.David Robillard1-0/+6
git-svn-id: http://svn.drobilla.net/resp/tuplr@131 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-20Garbage collection of code-allocated stack frames.David Robillard1-15/+26
git-svn-id: http://svn.drobilla.net/resp/tuplr@130 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-19Remove crufty cons/car/cdr implementation that doesn't work anyway.David Robillard1-88/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@128 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-19Add quick kludgey test suite.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/resp/tuplr@127 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-19Work towards garbage collection and explicitly managed stack frames.David Robillard1-19/+82
git-svn-id: http://svn.drobilla.net/resp/tuplr@126 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-19Factor out memory/GC related things from AST to Object.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@124 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-19Primitive garbage collector for AST nodes.David Robillard1-16/+38
Fix memory leaks. git-svn-id: http://svn.drobilla.net/resp/tuplr@123 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-18Rearrange Error order.David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/resp/tuplr@122 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-18Make source location mandatory parameter for Error.David Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@121 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-18THROW_IF macro.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/resp/tuplr@120 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-06-18Strip trailing whitespace.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/resp/tuplr@118 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-31Fix polymorphic functions (somewhat).David Robillard1-6/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@112 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix functions with several expressions in their body.David Robillard1-8/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@108 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix REPL variable addressing.David Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/resp/tuplr@107 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Let LLVM generate names.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@106 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Remove stupid maybeLookup function.David Robillard1-21/+8
Fix crash on calling concretely typed functions in the REPL. git-svn-id: http://svn.drobilla.net/resp/tuplr@105 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Abstract away (and prettify/shrink) dynamic_cast of AST objects.David Robillard1-10/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@104 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Set name of closures so defined functions are emitted with meaningful names.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/resp/tuplr@103 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Redundant check.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@102 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Remove duplicated code.David Robillard1-50/+25
git-svn-id: http://svn.drobilla.net/resp/tuplr@100 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Remove unnecessary code.David Robillard1-13/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@99 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Clean up ATuple, AType, Exp.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/resp/tuplr@98 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix comparison operations with booleans.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/resp/tuplr@96 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix polymorphism.David Robillard1-10/+15
git-svn-id: http://svn.drobilla.net/resp/tuplr@95 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Merge 'code' and 'type' environments.David Robillard1-3/+3
Better error reporting for bad function parameters. git-svn-id: http://svn.drobilla.net/resp/tuplr@94 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Make TEnv strictly keyed by ASymbol.David Robillard1-17/+6
Prettier casting. git-svn-id: http://svn.drobilla.net/resp/tuplr@93 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Tidy.David Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@91 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix polymorphism when evaluation files.David Robillard1-7/+4
Shut up debug output. git-svn-id: http://svn.drobilla.net/resp/tuplr@90 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix recursion.David Robillard1-70/+88
git-svn-id: http://svn.drobilla.net/resp/tuplr@89 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-14Lexical addressing, work towards true parametric polymorphism.David Robillard1-54/+125
git-svn-id: http://svn.drobilla.net/resp/tuplr@88 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Remove useless Log class.David Robillard1-10/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@86 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Consistent opaque backend types.David Robillard1-42/+55
git-svn-id: http://svn.drobilla.net/resp/tuplr@84 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Encapsulate more types.David Robillard1-4/+3
git-svn-id: http://svn.drobilla.net/resp/tuplr@83 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12More OOey (and smaller) parser design.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@82 ad02d1e2-f140-0410-9f75-f8b11f17cedd