Commit Graph

19 Commits

Author SHA1 Message Date
Chris Fadden
d2fc32d0fb Added C functions for linear algebra, to be converted to kraken and used as benchmark 2015-03-18 18:35:00 -04:00
Chris Fadden
a268f1b768 Modified I/O in the vector class 2015-03-16 14:01:15 -04:00
Chris Fadden
7363b53489 Made ChrisTest for testing numerical library 2015-03-16 13:49:05 -04:00
Nathan Braswell
6a311fb237 WOOO compiles all in one file! Dependencies resolved! Next up, C name mangeling for scoping 2015-03-11 01:58:10 -04:00
Nathan Braswell
ad0e90f74a Fixed up vector and make template searching functions use std::set to remove false positives on multiple matching templates 2015-01-07 03:03:14 -05:00
Nathan Braswell
aaca71a211 Got the new scoping working! Still some odd stuff happening to certian templates, and I think vector is having problems with new/traits. Really need to get canonnical filenames and what not worked out 2014-12-30 01:22:09 -05:00
Nathan Braswell
5b57770774 Declarations are now written |type| identifier;, generally. Functions are similar |void| func() {}, etc. Special declarations still work, etc 2014-08-01 00:45:48 -07:00
Nathan Braswell
4cf8dbbd5b vector and vector test are finally working! Also found some bugs that I don't have time to fix before bed. Added file future_features.txt to keep track of bugs and features. 2014-07-28 01:52:15 -07:00
Nathan Braswell
87ad0c187e Fixed quite a few bugs, including makeing find template functions check for trait subset, not trait equality, and add the number required to the satisfied count. Based on what is now breaking, it looks like it's time to give the builtin functions types. 2014-07-23 02:23:21 -07:00
Nathan Braswell
eae538907d Fixed some mem things, found an odd parsing bug where a // comment before a function definition at top level does not parse. Deferring for now. 2014-07-20 20:42:26 -07:00
Nathan Braswell
64fcb6b0b7 Traits for function templates working! Need to finish for objects and specilizations, and I think also else statements. 2014-07-18 08:52:15 -07:00
Nathan Braswell
46b9fc8b7f Added ability to add commits the Kraken grammer file. Started work on class traits and else statements. 2014-07-06 23:42:25 -07:00
Nathan Braswell
91a68ac2b1 Fixed silly not bug - in one location ! was written \!, which made practically no difference to the regex, but made it so that the parser wouldn't match it to !. Also added else to grammer, but this needs work in the ASTTransformation and CGenerator. 2014-07-03 01:52:44 -07:00
Nathan Braswell
22fbd61360 Fixed a pretty bad error in isNullable logic, I must have been tired. Also, edited grammer to support a[n].b, which was previously done with wrong operator precedence so that that construction was illegal. vector.krak still doesn't quite parse, but that's because of some error with if (!name) which I will fix later. Bedtime. 2014-07-02 01:18:27 -07:00
Nathan Braswell
03770028ad Fixed some bugs in Parser::firstSet and added a bit of caching. It still doesn't work quite right, though, there's some problem with nullable left recursion. However, it's better than it was, and I need to go to bed. More work later. 2014-06-30 01:57:50 -07:00
Nathan Braswell
63d9ec66e1 Added "Init Position Call" (takes the place of implicit constructors) and the this keyword! This was the structure needed for more sensable memory management. At least delete will need some updating before it becomes very usable, though. (Figuring out the types for function template instantiation) Anyway, good progress here! 2014-06-26 01:45:44 -07:00
Nathan Braswell
39f945940d Fixed a ton of stuff with function templates. Works well now. Next up: multiple template types and fixing object definition ordering (both where templates should go and objects with other pointers) 2014-05-19 20:00:35 -04:00
Nathan Braswell
9a4507a0f5 Added passthroughs and small fix for malloc/free 2014-05-03 20:46:10 -04:00
Nathan Braswell
6a75832b59 Added trivial standard library and search paths. 2014-05-01 01:18:01 -04:00