aboutsummaryrefslogtreecommitdiffstats
path: root/tuplr.hpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-31Fix polymorphic functions (somewhat).David Robillard1-8/+10
git-svn-id: http://svn.drobilla.net/resp/tuplr@112 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-30Add really primitive pretty printer.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@110 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix REPL variable addressing.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@107 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Abstract away (and prettify/shrink) dynamic_cast of AST objects.David Robillard1-13/+15
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-22/+12
git-svn-id: http://svn.drobilla.net/resp/tuplr@103 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Clean up ATuple, AType, Exp.David Robillard1-25/+19
git-svn-id: http://svn.drobilla.net/resp/tuplr@98 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Chop.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@97 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix polymorphism.David Robillard1-4/+19
git-svn-id: http://svn.drobilla.net/resp/tuplr@95 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Merge 'code' and 'type' environments.David Robillard1-10/+18
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-1/+6
Prettier casting. git-svn-id: http://svn.drobilla.net/resp/tuplr@93 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Heh.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@92 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Tidy.David Robillard1-5/+0
git-svn-id: http://svn.drobilla.net/resp/tuplr@91 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-15Fix polymorphism when evaluation files.David Robillard1-9/+1
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-39/+57
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-62/+148
git-svn-id: http://svn.drobilla.net/resp/tuplr@88 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-13Don't use TEnv.var() where unnecessary (this needs to go away? maybe?)David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@87 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Remove useless Log class.David Robillard1-9/+3
git-svn-id: http://svn.drobilla.net/resp/tuplr@86 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Tidy.David Robillard1-52/+28
git-svn-id: http://svn.drobilla.net/resp/tuplr@85 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Consistent opaque backend types.David Robillard1-16/+15
git-svn-id: http://svn.drobilla.net/resp/tuplr@84 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-12Encapsulate more types.David Robillard1-10/+8
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-40/+31
git-svn-id: http://svn.drobilla.net/resp/tuplr@82 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-10Very important crucial fix for many things.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@80 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-10Tidy.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/resp/tuplr@79 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Shorter and more consistent names (AST -> A).David Robillard1-46/+46
git-svn-id: http://svn.drobilla.net/resp/tuplr@78 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Remove redundant/useless ASTCall::expDavid Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/resp/tuplr@77 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Stream based serialisation of AST nodes (can write arbitrarily large ↵David Robillard1-22/+10
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-6/+8
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-4/+8
git-svn-id: http://svn.drobilla.net/resp/tuplr@73 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Tidy.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/resp/tuplr@72 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Oops.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/resp/tuplr@70 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Fancy varargs AType constructor.David Robillard1-2/+8
git-svn-id: http://svn.drobilla.net/resp/tuplr@69 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-07Typing improvements.David Robillard1-12/+13
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-29/+35
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-13/+19
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-14/+13
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-06Ensure only PEnv can create new symbols (and thus they are unique).David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@63 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06AType::type() -> AType::ctype().David Robillard1-8/+7
git-svn-id: http://svn.drobilla.net/resp/tuplr@62 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Tidy.David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/resp/tuplr@61 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Add dependency on tuplr.hpp for everything.David Robillard1-3/+0
Shrink. git-svn-id: http://svn.drobilla.net/resp/tuplr@60 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Halfway decent main program.David Robillard1-1/+12
Move main program stuff from LLVM specific code file to tuplr.cpp. git-svn-id: http://svn.drobilla.net/resp/tuplr@57 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06More generic parser function mechanism that works for atoms too.David Robillard1-25/+33
Use atom parser methods to parse literals. Remove the last of the language and backend specific things from core code. git-svn-id: http://svn.drobilla.net/resp/tuplr@56 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Tidy/ShrinkDavid Robillard1-15/+9
git-svn-id: http://svn.drobilla.net/resp/tuplr@55 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Fix polymorphic lifting (sort of, can only lift once still).David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/resp/tuplr@54 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Tidy.David Robillard1-25/+26
git-svn-id: http://svn.drobilla.net/resp/tuplr@53 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Fully remove LLVM dependency from core code.David Robillard1-35/+42
git-svn-id: http://svn.drobilla.net/resp/tuplr@52 ad02d1e2-f140-0410-9f75-f8b11f17cedd
2009-03-06Split LLVM dependent backend from core code.David Robillard1-0/+464
No more pretty little one filer. Oh well. git-svn-id: http://svn.drobilla.net/resp/tuplr@51 ad02d1e2-f140-0410-9f75-f8b11f17cedd