Nathan Braswell
|
26e7ee249a
|
Now using adt_lower, which also makes the backing deconstruct a reference, which makes sense
|
2016-06-20 01:52:28 -07:00 |
|
Nathan Braswell
|
828f36daab
|
Adding in proper copy_construct into function calls and destruct afterwards. Doesn't correctly destruct return values yet.
|
2016-05-21 11:20:29 -07:00 |
|
Nathan Braswell
|
cfcaff7887
|
Add support for variadic extern functions, as it turns out that you can't just specialize them with declarations. I.e., int a_func(int, ...) is different from int a_func(int, int) even if you only ever call a_func(1,2), etc. This commit is in preperation for moving to correcty variadic extern functions for the c stdlib (like printf, snprintf)
|
2016-05-19 23:17:32 -07:00 |
|
Nathan Braswell
|
d126cbf24b
|
Added short/long and unsigned types for all int based types
|
2016-04-29 16:19:23 -04:00 |
|
Nathan Braswell
|
cf46fb13af
|
Add casting as a language feature. Have not removed the function yet as we need an inbetween version for the bootstrap
|
2016-04-18 22:56:29 -04:00 |
|
Nathan Braswell
|
1cc8fd294e
|
Cephelapod-compiled Kalypso will compile Kalypso, but the result segfaults
|
2016-03-26 04:39:26 -04:00 |
|
Nathan Braswell
|
b650a9af03
|
some bugfixes, getting closer
|
2016-03-24 21:32:28 -04:00 |
|
Nathan Braswell
|
d864a58bb4
|
Saving a lot of work on ADTs. Finishing should mostly just be filling in the different operator functions in the c_generator
|
2016-03-19 21:45:07 -04:00 |
|
Nathan Braswell
|
2e6e87137d
|
Most of stdlib started working 55 tests pass
|
2016-03-08 16:04:59 -05:00 |
|
Nathan Braswell
|
84cbcc3820
|
References working, pass test_references, 46 tests passing
|
2016-03-01 14:54:58 -05:00 |
|
Nathan Braswell
|
d6bb0cf45b
|
Implemented traits, so test_traitsTest passes now and fixed small bug that allowed test_functionsValues to pass as well. 42 now
|
2016-02-29 04:53:03 -05:00 |
|
Nathan Braswell
|
939cf83da1
|
Fixed some closure/function value issues, now 40 tests pass
|
2016-02-27 21:07:22 -05:00 |
|
Nathan Braswell
|
8ce464eb0a
|
Fix a bunch of stuff back and forth, 39 tests passing
|
2016-02-25 14:24:55 -05:00 |
|
Nathan Braswell
|
815c213270
|
Make --parse-only not highlight and redo format of parse errors so that kraken.vim syntax checking works, fix naming to allow multiple instantiations of object templates, fix so that template type replacements go through to bodies of methods of object templates in the fourth_pass
|
2016-02-15 16:31:01 -05:00 |
|
Nathan Braswell
|
f941cb98dd
|
Actually implemented some sort of primitive hierarchy for the results of things like 1 + 2.0 as well as port test_functionMultipleTemplateTest.krak so we now have 5/71
|
2016-02-05 16:43:14 -05:00 |
|
Nathan Braswell
|
de3ead0573
|
added proper template function instantiation caching
|
2016-02-03 21:57:06 -05:00 |
|
Nathan Braswell
|
24fb8d288f
|
Fix templated types getting their indirection stripped off when used
|
2016-02-01 15:59:41 -05:00 |
|
Nathan Braswell
|
70ebefcc25
|
Initial explicit function template working (chained may also not work, need to check)
|
2016-02-01 05:35:08 -05:00 |
|
Nathan Braswell
|
83450aa833
|
Added copy_constructing when returning
|
2016-01-30 22:04:37 -05:00 |
|
Nathan Braswell
|
6f1f31a212
|
Added automatic distructor calling for going out of scope, found out that += is broken (and just comes through as =)
|
2016-01-29 22:46:09 -05:00 |
|
Nathan Braswell
|
c022758b9c
|
Make this varaiable/keyword work
|
2016-01-24 01:02:56 -05:00 |
|
Nathan Braswell
|
c943d591e0
|
Trivial objects working, fixed adt prefixing bug
|
2016-01-21 03:18:02 -05:00 |
|
Nathan Braswell
|
ac34a550d5
|
Basic math expressions will passthrough now
|
2016-01-18 18:04:34 -05:00 |
|
Nathan Braswell
|
785c6a6a8e
|
Function lookup now handles overloading
|
2016-01-14 12:57:16 -05:00 |
|
Nathan Braswell
|
5db0365a63
|
Added indirection to types in prep for function calls, full passthrough, and the first real hello world
|
2016-01-10 18:26:31 -05:00 |
|
Nathan Braswell
|
337bc424ee
|
Added in basic transformation and generation for functions
|
2016-01-06 02:46:42 -05:00 |
|
Nathan Braswell
|
f29fdcd463
|
More skeleton, including a trivial second_pass_function, fix a bug with ADTs that have members with the same name (may still be a problem if the ADT itself has the same name)
|
2016-01-05 21:40:00 -05:00 |
|