Thu, 24 Jul 2008 21:12:12 +0200 |
Anders Halager |
Codegen functions in structs
|
Thu, 24 Jul 2008 21:06:42 +0200 |
Anders Johnsen |
Putting symbol on MemberRef -calls.
|
Thu, 24 Jul 2008 20:40:04 +0200 |
Anders Halager |
Start of support for virtual functions
|
Thu, 24 Jul 2008 20:31:24 +0200 |
Anders Johnsen |
- Changed Parser to be more clean on type parsing.
|
Thu, 24 Jul 2008 12:27:34 +0200 |
Anders Halager |
Make function overloads work in the codegen
|
Thu, 24 Jul 2008 12:18:58 +0200 |
Anders Johnsen |
added a __vptr to all classes.
|
Thu, 24 Jul 2008 12:07:11 +0200 |
Anders Johnsen |
Merge(sry)
|
Thu, 24 Jul 2008 12:06:48 +0200 |
Anders Johnsen |
Some changes to get function overloading to work. Also class inherit works now - to some extend. needs vtables and all the complex stuff of it.
|
Wed, 23 Jul 2008 00:31:11 +0200 |
dan amlund |
proper patch for llvm bindings
|
Tue, 22 Jul 2008 21:34:53 +0200 |
Anders Halager |
Codegen support for new expressions (very lame so far)
|
Tue, 22 Jul 2008 18:24:15 +0200 |
Anders Johnsen |
Better handling of param checking on method calls.
|
Tue, 22 Jul 2008 16:53:47 +0200 |
Anders Johnsen |
The symbol for the constructor a "new"-exp is calling is now stored in callSym in NewExp.
|
Tue, 22 Jul 2008 16:50:47 +0200 |
Anders Johnsen |
Fixes to types for constructor and also removed DFunction's from DStruct, DClass and DInterface
|
Tue, 22 Jul 2008 16:22:58 +0200 |
Anders Johnsen |
Fixed symbol for a functions members.
|
Tue, 22 Jul 2008 13:39:15 +0200 |
Anders Halager |
Changed the tests for static arrays a little
|
Tue, 22 Jul 2008 13:29:20 +0200 |
Anders Halager |
Improved static arrays
|
Tue, 22 Jul 2008 00:34:49 +0200 |
Anders Johnsen |
Added some tests for constructor and new.
|
Tue, 22 Jul 2008 00:33:58 +0200 |
Anders Johnsen |
Parsing "new", putting it in AST and performs some tests on it. Eg. if the contructor exists and the params matches.
|
Mon, 21 Jul 2008 22:14:06 +0200 |
Anders Johnsen |
Merge commit
|
Mon, 21 Jul 2008 22:13:12 +0200 |
Anders Johnsen |
Made some tests dmd-compatible
|
Mon, 21 Jul 2008 22:12:33 +0200 |
Anders Halager |
Codegen for statements
|
Mon, 21 Jul 2008 21:45:54 +0200 |
Anders Johnsen |
Parsing "this" as constructor. Also removed regex from the test run program(seg fault - dmd???)
|
Mon, 21 Jul 2008 21:32:20 +0200 |
Anders Halager |
Merge
|
Mon, 21 Jul 2008 21:30:44 +0200 |
Anders Halager |
Formatting change
|
Mon, 21 Jul 2008 21:18:18 +0200 |
Anders Halager |
Merge
|
Mon, 21 Jul 2008 20:35:03 +0200 |
Anders Halager |
Make switch work again
|
Mon, 21 Jul 2008 21:00:20 +0200 |
Anders Johnsen |
For loops in AST and sema. Should have correct scope and such now.
|
Mon, 21 Jul 2008 20:28:11 +0200 |
Anders Johnsen |
Fixed some for parsing, and removed a little ugly bug.
|
Mon, 21 Jul 2008 19:17:56 +0200 |
Anders Johnsen |
Parsing for-loops to some extend.
|
Mon, 21 Jul 2008 18:16:50 +0200 |
Anders Johnsen |
Parsing for-loop.
|
Mon, 21 Jul 2008 17:56:33 +0200 |
Anders Johnsen |
Changes Scope to use char[]'s insted of Identifiers for lookup.
|
Mon, 21 Jul 2008 17:41:40 +0200 |
Anders Johnsen |
- Parsing nested attributes.
|
Mon, 21 Jul 2008 01:05:20 +0200 |
Anders Johnsen |
Added partial support for switches.
|
Sun, 20 Jul 2008 23:41:53 +0200 |
Anders Johnsen |
Made the test program work with >59 tests.
|
Sun, 20 Jul 2008 23:24:23 +0200 |
Anders Johnsen |
Merge
|
Sun, 20 Jul 2008 23:23:56 +0200 |
Anders Johnsen |
Added support for extern keyword. Being ignored atm though. Also changed ast/Module, so that you can get a list of only vars, functions or structs.
|
Fri, 18 Jul 2008 13:32:34 +0200 |
Anders Halager |
Fixed up our simplify functions
|
Fri, 18 Jul 2008 13:17:02 +0200 |
Anders Halager |
Removed some unused code
|
Fri, 18 Jul 2008 13:10:53 +0200 |
Anders Halager |
No reason to explicitly add structs as llvm types
|
Fri, 11 Jul 2008 21:47:57 +0200 |
johnsen |
Lots of changes:
|
Wed, 09 Jul 2008 13:38:11 +0200 |
Anders Halager |
Removed some output
|
Wed, 09 Jul 2008 12:59:57 +0200 |
Anders Halager |
Changed the test-program.
|
Mon, 30 Jun 2008 16:43:40 +0200 |
Anders Johnsen |
Now working with forward ref and structs in scope builder. New Symbol system should now be good to go!
|
Mon, 30 Jun 2008 16:23:52 +0200 |
Anders Johnsen |
Better scope-building. Still an error with structs and forward ref though.
|
Mon, 30 Jun 2008 16:12:07 +0200 |
Anders Halager |
Try and make aliases work
|
Mon, 30 Jun 2008 15:22:05 +0200 |
Anders Johnsen |
Recursive member-lookup.
|
Sat, 21 Jun 2008 20:41:18 +0200 |
Anders Halager |
Added a Symbol
|
Sat, 21 Jun 2008 17:32:27 +0200 |
Anders Johnsen |
Moved a test
|
Sat, 21 Jun 2008 17:29:17 +0200 |
Anders Johnsen |
New protection test
|
Tue, 27 May 2008 10:32:31 +0200 |
Anders Johnsen |
Carius changes to the parser. Parsing attributes, lexing many keywords(not all yet).
|
Sun, 25 May 2008 21:13:56 +0200 |
Anders Halager |
Support shifts and binary logical operators in codegen
|
Sun, 25 May 2008 21:08:10 +0200 |
Anders Johnsen |
Merge
|
Sun, 25 May 2008 21:07:48 +0200 |
Anders Johnsen |
Parsing <<, >> and >>>.
|
Sun, 25 May 2008 21:03:06 +0200 |
Anders Halager |
float tests
|
Sun, 25 May 2008 20:30:09 +0200 |
Anders Halager |
Allow == and != on reals
|
Sun, 25 May 2008 20:18:55 +0200 |
Anders Halager |
Implement the cast expression - works for integers and real/float/double
|
Sun, 25 May 2008 19:13:07 +0200 |
Anders Johnsen |
Non compileing commit. Work on floating points and casts
|
Sun, 25 May 2008 18:24:16 +0200 |
Anders Halager |
Added the DType -> llvm type mapping for some more types
|
Sun, 25 May 2008 18:20:13 +0200 |
Anders Halager |
merge
|
Sun, 25 May 2008 18:19:09 +0200 |
Anders Halager |
Add in the types for float and co.
|
Sun, 25 May 2008 16:41:19 +0200 |
Anders Johnsen |
Ehh... not sure why...
|
Sun, 25 May 2008 16:40:38 +0200 |
Anders Johnsen |
Removed misc/Error.d and is now using the error system all way through.
|
Sun, 25 May 2008 15:49:25 +0200 |
Anders Halager |
Fix derefs as lvalues
|
Sun, 25 May 2008 15:48:13 +0200 |
Anders Johnsen |
Added missing file. This file is from the phobos source, with some modifications so that it can run in tango. Also slimed out unittests.
|
Sun, 25 May 2008 15:42:44 +0200 |
Anders Johnsen |
Parsing basic integers and floats.
|
Sun, 25 May 2008 14:56:05 +0200 |
Anders Halager |
Make it compile
|
Sun, 25 May 2008 14:46:01 +0200 |
Anders Halager |
merge
|
Sun, 25 May 2008 14:43:16 +0200 |
Anders Halager |
merge
|
Sun, 25 May 2008 14:40:14 +0200 |
Anders Halager |
Cleanup of codegen, better support for operators a few bugfixes
new_gen
|
Thu, 22 May 2008 12:09:11 +0200 |
Anders Johnsen |
Now able of understanding strings.
|
Wed, 21 May 2008 21:11:55 +0200 |
Anders Johnsen |
Merged new_gen into default. The default repo should now be the current.
|
Wed, 21 May 2008 21:05:23 +0200 |
Anders Johnsen |
Lexing more types of strings. Now all's left is to parse the string in the AST.
new_gen
|
Thu, 08 May 2008 10:54:29 +0200 |
Anders Johnsen |
Parsing char, wchar and dchar as basic types.
new_gen
|
Thu, 08 May 2008 10:32:41 +0200 |
Anders Johnsen |
Parsing methods in structs - error on semantics though.
new_gen
|
Wed, 07 May 2008 19:58:13 +0200 |
Anders Johnsen |
First step(the other first was a bad one) toward imports. You can now compile two files that use eachother - given that they both are in the command line. Right now it's only root sturcts and methods you can use(i guess...?)
new_gen
|
Tue, 06 May 2008 22:49:43 +0200 |
Anders Johnsen |
Loading modules in. Just need to add them to the scope of the "main" Module now.
new_gen
|
Tue, 06 May 2008 21:59:22 +0200 |
Anders Halager |
Imports and improved module statement
new_gen
|
Tue, 06 May 2008 21:55:29 +0200 |
Anders Johnsen |
Fixed tests - forgot some stuff in codegen.
new_gen
|
Tue, 06 May 2008 21:28:05 +0200 |
Anders Johnsen |
"-c" as argument now generates out.o (only works on linux now)
new_gen
|
Tue, 06 May 2008 18:51:08 +0200 |
Anders Johnsen |
Now D-Mangling the function types. Still need to mangle "scopes" - by that i mean structs, classes and modules.
new_gen
|
Tue, 06 May 2008 17:01:00 +0200 |
Anders Johnsen |
Added missing Module.d file.
new_gen
|
Tue, 06 May 2008 16:24:14 +0200 |
Anders Johnsen |
Added Modules. Right now it's very simple - will grow with time and need.
new_gen
|
Mon, 05 May 2008 20:53:13 +0200 |
Anders Johnsen |
Removed the Symbol from semantics - it was not needed anymore. From now on you set the type by doing a setType on an Identifier.
new_gen
|
Mon, 05 May 2008 18:44:20 +0200 |
Anders Johnsen |
A few better parser errors plus renaming most of the sema classes to match that they do now. Some have changes a lot.
new_gen
|
Mon, 05 May 2008 17:07:16 +0200 |
johnsen |
Fixed the SourceLocation/SourceManager for files stretching by more then one CheckPoints
new_gen
|
Sun, 04 May 2008 23:23:51 +0200 |
Anders Halager |
Write file again
new_gen
|
Sun, 04 May 2008 20:27:01 +0200 |
Anders Johnsen |
Using the new SourceLocation system to handle errors. Also, this is the first push for making the errors don't throw, but continue to check the source.
new_gen
|
Sun, 04 May 2008 18:13:46 +0200 |
Anders Halager |
Major change to locations, tokens and expressions.
new_gen
|
Sun, 04 May 2008 12:58:02 +0200 |
Anders Halager |
Some improvements to the compiler program
new_gen
|
Fri, 02 May 2008 21:21:18 +0200 |
Anders Johnsen |
Fixed a bug that made arrays as params fail big time
new_gen
|
Fri, 02 May 2008 20:18:50 +0200 |
Anders Halager |
Allow indexing of pointers also
new_gen
|
Fri, 02 May 2008 20:17:22 +0200 |
Anders Johnsen |
Assign stuff to arrays.
new_gen
|
Fri, 02 May 2008 19:54:22 +0200 |
Anders Halager |
Parse array indexing, and allow reading from arrays
new_gen
|
Fri, 02 May 2008 19:51:58 +0200 |
Anders Johnsen |
Can declare outside functions and call c-functions
new_gen
|
Fri, 02 May 2008 18:23:33 +0200 |
Anders Johnsen |
Now you can declare array
new_gen
|
Fri, 02 May 2008 17:33:50 +0200 |
Anders Johnsen |
Pointers working now - big YAY
new_gen
|
Fri, 02 May 2008 16:39:04 +0200 |
Anders Halager |
branch merge
new_gen
|
Fri, 02 May 2008 16:38:31 +0200 |
Anders Halager |
Parse and gen for dereferences
new_gen
|
Fri, 02 May 2008 16:37:13 +0200 |
Anders Johnsen |
Now able of --ast-dump-code with Pointer types and also codeGen int* x;
new_gen
|
Fri, 02 May 2008 15:48:57 +0200 |
Anders Johnsen |
Now parsing varDecls a lot nicer!
new_gen
|
Fri, 02 May 2008 15:05:02 +0200 |
Anders Johnsen |
Parsing "int* x"
new_gen
|
Fri, 02 May 2008 13:19:23 +0200 |
johnsen |
Renamed Add, Sub, Mul, Div and Mod in lexer to what they are (Plus, Minus....)
new_gen
|
Thu, 01 May 2008 23:09:27 +0200 |
Anders Johnsen |
Forgot a test file for arrays...
new_gen
|
Thu, 01 May 2008 23:08:41 +0200 |
Anders Johnsen |
First update on the way to Arrays! :)
new_gen
|
Thu, 01 May 2008 19:51:22 +0200 |
Anders Johnsen |
Handled a few more error cases on input.
new_gen
|
Thu, 01 May 2008 19:30:51 +0200 |
Anders Johnsen |
Added missing files and also cleaned up some Stdout debug-output.
new_gen
|
Thu, 01 May 2008 19:26:22 +0200 |
Anders Johnsen |
Added 3 new small tests.
new_gen
|
Thu, 01 May 2008 19:25:49 +0200 |
Anders Johnsen |
A LOT of bug fixing - also implemented implicit casts. If you do a --ast-dump-code on a target with some algebra of differant types, you should now see the type casts being made. Also, Tests are again back with only switches failing...
new_gen
|
Tue, 29 Apr 2008 20:15:22 +0200 |
Anders Johnsen |
Been working on the floating point parsing. Still a bit of work to do here.
new_gen
|
Tue, 29 Apr 2008 18:30:14 +0200 |
Anders Halager |
Fixed a bug - delegates are problematic
new_gen
|
Tue, 29 Apr 2008 18:17:09 +0200 |
Anders Halager |
Merge
new_gen
|
Tue, 29 Apr 2008 17:56:52 +0200 |
Anders Halager |
Fixed some bugs, removed the function gathering pass in codegen and types are
new_gen
|
Tue, 29 Apr 2008 15:13:38 +0200 |
Anders Halager |
Now Decl's have a DType type(), and should use varType and returnType to get the old type id
new_gen
|
Tue, 29 Apr 2008 16:34:11 +0200 |
Anders Johnsen |
Added support for "%" - modulus / reminder
new_gen
|
Tue, 29 Apr 2008 15:11:39 +0200 |
Anders Johnsen |
New patch to LLVM D bindings from the llvmdc project - apply it in the root(where dsss.conf is)
new_gen
|
Tue, 29 Apr 2008 15:00:11 +0200 |
Anders Johnsen |
Dumping Ast with AstPrinter is now possible again! :)
new_gen
|
Tue, 29 Apr 2008 00:31:56 +0200 |
Anders Halager |
Make most of the tests pass again
new_gen
|
Mon, 28 Apr 2008 21:51:39 +0200 |
Anders Halager |
Add types to our Exp
new_gen
|
Mon, 28 Apr 2008 21:47:01 +0200 |
Anders Johnsen |
Removed some debug output and updated for new llvm-bindings.
new_gen
|
Mon, 28 Apr 2008 21:40:00 +0200 |
Anders Johnsen |
Now return types works for structs... Also, simplyfing in AST have been startet - but still messy. This update is a little messy...
new_gen
|
Sat, 26 Apr 2008 23:11:13 +0200 |
Anders Johnsen |
Now structs are somewhat useable to use.
new_gen
|
Sat, 26 Apr 2008 19:13:10 +0200 |
Anders Halager |
Move all root var-decls so they are generated before anything else
new_gen
|
Sat, 26 Apr 2008 18:52:27 +0200 |
Anders Johnsen |
Added struct decl and forward ref. A note on structs: they need to make a new scope when declared. Otherwise you could access struct members as globals
new_gen
|
Sat, 26 Apr 2008 16:12:36 +0200 |
Anders Halager |
Two new tests that uncovered a bug - we dont to type conversion when calling functions
new_gen
|
Sat, 26 Apr 2008 15:54:54 +0200 |
Anders Halager |
Rearranged some stuff, and renamed LLVMGen -> CodeGen
new_gen
|
Sat, 26 Apr 2008 15:31:20 +0200 |
Anders Halager |
Removed unused LuaGen
new_gen
|
Sat, 26 Apr 2008 13:15:37 +0200 |
Anders Halager |
Seperated the AST from LLVM
new_gen
|
Thu, 24 Apr 2008 19:42:53 +0200 |
Anders Halager |
Only tests that dont pass now are structs and switches
new_gen
|
Wed, 23 Apr 2008 17:09:44 +0200 |
Anders Halager |
Stricter while - the () was optional before
new_gen
|
Wed, 23 Apr 2008 17:01:24 +0200 |
Anders Halager |
While is back
new_gen
|
Wed, 23 Apr 2008 16:43:42 +0200 |
Anders Halager |
If statements are back
new_gen
|
Wed, 23 Apr 2008 00:57:45 +0200 |
Anders Halager |
Big update - Moving towards a better, more seperated parser
new_gen
|
Tue, 22 Apr 2008 22:31:39 +0200 |
Anders Johnsen |
A few fixes - now checking if chars are of a valid type
new_gen
|
Tue, 22 Apr 2008 22:25:07 +0200 |
Anders Johnsen |
Added some docs for the lexer - now you can understand _some_ of the madness going on here :)
new_gen
|
Tue, 22 Apr 2008 19:30:51 +0200 |
Anders Johnsen |
Now using arrays insted of switch - should speed things up a notch!
new_gen
|
Tue, 22 Apr 2008 00:31:57 +0200 |
Anders Johnsen |
Added -O and --inline args to Dang.
new_gen
|
Mon, 21 Apr 2008 22:47:12 +0200 |
Anders Halager |
Added some struct tests, and implemented a wrong struct assignment
new_gen
|
Sun, 20 Apr 2008 23:53:42 +0200 |
Anders Halager |
Testcases for switch
new_gen
|
Sun, 20 Apr 2008 23:53:05 +0200 |
Anders Halager |
Bug-fixes
new_gen
|
Sun, 20 Apr 2008 22:39:07 +0200 |
Anders Halager |
Switch statements support
new_gen
|
Sun, 20 Apr 2008 21:33:50 +0200 |
Anders Johnsen |
Structs!
new_gen
|
Sun, 20 Apr 2008 21:33:08 +0200 |
Anders Johnsen |
Structs!
new_gen
|
Sun, 20 Apr 2008 13:59:20 +0200 |
Anders Halager |
Improvements to the Error class.
new_gen
|
Sun, 20 Apr 2008 12:19:11 +0200 |
Anders Halager |
LLVMGen.d/getPointer:
new_gen
|
Sun, 20 Apr 2008 12:03:13 +0200 |
Anders Halager |
Declarations.d/visitMemberLookup: Use the loc of the lookup, rather than the types loc
new_gen
|
Sun, 20 Apr 2008 11:53:40 +0200 |
Anders Halager |
Ooops.. should have compiled before commit.. now works again
new_gen
|
Sun, 20 Apr 2008 11:47:34 +0200 |
Anders Halager |
Merge, and updated Error class
new_gen
|
Sun, 20 Apr 2008 11:20:28 +0200 |
Anders Johnsen |
Now supporting structs - both read and write. Still a few errors though, so watch out.
new_gen
|
Sun, 20 Apr 2008 01:08:50 +0200 |
Anders Halager |
Various changes related to DType
new_gen
|
Sat, 19 Apr 2008 22:19:14 +0200 |
Anders Halager |
Added a DType class
new_gen
|
Sat, 19 Apr 2008 19:31:28 +0200 |
Anders Halager |
Removed a line of debug output
new_gen
|
Sat, 19 Apr 2008 18:29:42 +0200 |
Anders Halager |
New codegen!
new_gen
|
Sat, 19 Apr 2008 11:40:20 +0200 |
Anders Halager |
Trying to use Tomas Lindquist Olsen's LLVM bindings instead of raw text-output
new_gen
|
Fri, 18 Apr 2008 23:45:45 +0200 |
johnsen |
now handling structs to some extend
|
Fri, 18 Apr 2008 21:39:17 +0200 |
johnsen |
Now working with gdc also (gdc use reverse paremeter validating on function calls)
|
Fri, 18 Apr 2008 20:28:49 +0200 |
Anders Halager |
Small changes to the text program.
|
Fri, 18 Apr 2008 18:24:36 +0200 |
Anders Halager |
Fixed two typos in the comparison operators
|
Fri, 18 Apr 2008 17:59:01 +0200 |
Anders Johnsen |
Merge
|
Fri, 18 Apr 2008 17:55:42 +0200 |
Anders Johnsen |
Fixed tests.run - now works really nice
|
Fri, 18 Apr 2008 15:53:30 +0200 |
Anders Halager |
Oops.. while was generating incorrect code
|
Fri, 18 Apr 2008 17:49:34 +0200 |
Anders Johnsen |
Updates to run.d - still errors
|
Fri, 18 Apr 2008 15:25:10 +0200 |
Anders Halager |
Better scopes.
|
Fri, 18 Apr 2008 14:47:23 +0200 |
johnsen |
Checking for types and identifiers. TODO: Make each varDecl create a new scope
|
Fri, 18 Apr 2008 13:58:27 +0200 |
Anders Halager |
Added some ekstra tests, and allowed bool as a type
|
Fri, 18 Apr 2008 13:45:39 +0200 |
Anders Halager |
Support for while statements and fixed scope for if
|
Fri, 18 Apr 2008 13:01:11 +0200 |
Anders Halager |
Some support for the rest of the boolean operators
|
Fri, 18 Apr 2008 12:52:53 +0200 |
Anders Halager |
Merged
|
Fri, 18 Apr 2008 12:33:03 +0200 |
johnsen |
Added Ne, Lt, Le, Gt, Ge and Not in lexer
|
Fri, 18 Apr 2008 12:50:54 +0200 |
Anders Halager |
Starting to work on bool support, for now == works
|
Fri, 18 Apr 2008 12:24:14 +0200 |
johnsen |
Now lexing == as Equals
|
Fri, 18 Apr 2008 11:46:00 +0200 |
Anders Halager |
Added very simple if support.
|
Fri, 18 Apr 2008 11:07:46 +0200 |
johnsen |
Updated lexer with comment handling to run Comments test at succes rate
|
Fri, 18 Apr 2008 11:03:17 +0200 |
johnsen |
dsss.conf updated to compile test file. Also updated LICENSE to BSD-License
|
Fri, 18 Apr 2008 02:31:07 +0200 |
Anders Halager |
Lots of stuff, here are the git comments:
|
Fri, 18 Apr 2008 02:01:38 +0200 |
johnsen |
First push
|
Fri, 18 Apr 2008 15:24:52 +0200 |
johnsen |
itest
|