aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2009-03-10More super important world changing kind of stuff.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@81 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Shorter and more consistent names (AST -> A).David Robillard1-30/+30
git-svn-id: http://svn.drobilla.net/resp/tuplr@78 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Remove redundant/useless ASTCall::expDavid Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/resp/tuplr@77 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Consistent external forms.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@76 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Stream based serialisation of AST nodes (can write arbitrarily large ↵David Robillard1-2/+2
expressions without chewing memory). git-svn-id: http://svn.drobilla.net/resp/tuplr@75 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Ensure only CEnv can call compile function directly (fix recursive functions).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@74 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Make out and error streams fields of CEnv instead of static globals.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/resp/tuplr@73 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Tidy.David Robillard1-13/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@72 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Oops.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@70 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Fancy varargs AType constructor.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/resp/tuplr@69 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Typing improvements.David Robillard1-23/+34
More location information. git-svn-id: http://svn.drobilla.net/resp/tuplr@67 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Fancy error reporting for type errors, among other things.David Robillard1-13/+18
git-svn-id: http://svn.drobilla.net/resp/tuplr@66 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Remove low level type stuff completely from core code (let the backend deal ↵David Robillard1-39/+34
with conversion of abstract types to compiled types). git-svn-id: http://svn.drobilla.net/resp/tuplr@65 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Cleanup and de-llvm-ify primitive stuff.David Robillard1-86/+35
Fix type inference (only treat actual type expressions as type expressions). git-svn-id: http://svn.drobilla.net/resp/tuplr@64 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06AType::type() -> AType::ctype().David Robillard1-60/+59
git-svn-id: http://svn.drobilla.net/resp/tuplr@62 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Tidy.David Robillard1-0/+661
git-svn-id: http://svn.drobilla.net/resp/tuplr@61 ad02d1e2-f140-0410-9f75-f8b11f17cedd