Nathan Braswell
|
4de7dd1210
|
Added support for unions as a step towards lowering ADTs in the next pass to be written.
|
2016-06-15 22:26:03 -07:00 |
|
Nathan Braswell
|
27fea0e90c
|
work on multithread, interpreter, and prototyped a #line-in-simple-passthrough ast changing pass turned on with -g
|
2016-06-14 02:14:25 -07:00 |
|
Nathan Braswell
|
2c8c3af48a
|
Some speed improvements
|
2016-06-11 00:45:18 -07:00 |
|
Nathan Braswell
|
a64e79c789
|
Bugfix - properly use old enclosing_object to interpret parameters to method, use new_enclosing_object for interpreting the actual function itself
|
2016-05-22 12:17:17 -07:00 |
|
Nathan Braswell
|
967ae3d68e
|
Added malloc/free with extern as well as all the other primitives and added pointer arithmatic and []
|
2016-05-15 11:09:12 -07:00 |
|
Nathan Braswell
|
e63b7cf770
|
Enough interpreter to do math on constant integers
|
2016-05-13 03:10:36 -04:00 |
|
Nathan Braswell
|
9d7a65294f
|
Optimizations, regex character ranges
|
2016-05-05 04:51:10 -04:00 |
|
Nathan Braswell
|
7aa1d9983b
|
Some bugfixes/added errors, convert most to not use simple_passthrough
|
2016-04-30 15:38:28 -04: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
|
914fc57c13
|
Change over everything to sizeof intrinsic
|
2016-04-28 19:22:23 -04:00 |
|
Nathan Braswell
|
40c3e428c1
|
move test_compiler up to main kraken.krak and fix linker string, make paths work correctly
|
2016-03-28 17:12:53 -04:00 |
|
Nathan Braswell
|
b650a9af03
|
some bugfixes, getting closer
|
2016-03-24 21:32:28 -04:00 |
|
Nathan Braswell
|
2344ba917b
|
Hopefully finished ADTs, still a bug preventing self-hosting
|
2016-03-20 05:14:26 -04:00 |
|
Nathan Braswell
|
a898104f8a
|
Fix multiline strings with single quotes in Cephelapod and implement both types in Kalypso, one new test should pass for both
|
2016-02-15 23:12:56 -05:00 |
|
Nathan Braswell
|
6aeb5c33f5
|
Speed up parsing something like 10 times, Kalypso runs so much faster now
|
2016-02-06 23:09:46 -05:00 |
|
Nathan Braswell
|
778e03a929
|
Fixed Kalypso's scope lookup to handle ::, ported another test (+ got another one from having proper scope operator)
|
2016-02-05 13:56:29 -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
|
803b415220
|
get closer to generating real ast/dot
|
2015-12-06 15:15:33 -05:00 |
|
Nathan Braswell
|
a84e2ee6e1
|
faster deserilitation, super basic enums
|
2015-08-29 21:45:55 -04:00 |
|
Nathan Braswell
|
d72cbdcedb
|
Serilization and caching the table works!
|
2015-08-26 03:45:34 -04:00 |
|
Nathan Braswell
|
4b6693ac1c
|
Fixed add_children to actually add children correctly and only do the ambiguity at the right time. Still have the looking in map with non-existant key problem, but it is actually parsing nicely.
|
2015-08-12 23:15:41 -04:00 |
|
Nathan Braswell
|
58ab3e311f
|
Starting to really parse! Fixed the bad syntax trees (reduction copy_construct wasn't actually copying label because param and dest had same name) and fixed the krakenGrammer and CGenerator to allow escaped quotes in regular strings. add_children needs to be finished so the resulting trees don't go nuts with ambiguity, and some situations still cause vector access errors, which is odd. Also added the crazy simple write_file to io and the test_grammer.krak now outputs a syntax_tree.dot
|
2015-08-11 01:07:16 -04:00 |
|
Nathan Braswell
|
e1dbe08c0a
|
Optimization of string and vector with references and less functional code, bugfix of closing over references
|
2015-08-04 14:57:56 -04:00 |
|
Nathan Braswell
|
06f36f2a87
|
Return by reference and pass by reference working with objects. Closures might present problems, however
|
2015-07-15 00:53:53 -04:00 |
|
Nathan Braswell
|
cfadf7cebb
|
Fix nested closures and related bugs
|
2015-07-05 02:34:45 -04:00 |
|
Nathan Braswell
|
2c29846570
|
Swapped pointers to the other side for types to prevent ambiguity, i.e. *int instead of int*
|
2015-07-04 17:02:51 -04:00 |
|
Nathan Braswell
|
54721b4284
|
More work on grammer and standard library! It can kinda load grammer now! Kinda. Marcus ran into the function pointer returns pointer ambiguity, so that'll have to be done tomorrow.
|
2015-07-04 03:21:36 -04:00 |
|
Nathan Braswell
|
ce6c8241fb
|
Bugfixes, range(start,end,step), and beginning work on lexer and symbol
|
2015-06-28 20:25:27 -04:00 |
|
Nathan Braswell
|
c50c977a9e
|
Fixed the close over methods and member vars bug, but there's something remaining causing the safe_recursive_delete not to work. Gotta save progress and do other stuff
|
2015-06-27 18:06:02 -04:00 |
|
Nathan Braswell
|
dacfee6d22
|
Added the []= overloadable operator and implemented it for vector, map, and string
|
2015-06-27 11:46:31 -04:00 |
|
Nathan Braswell
|
7b6e47544a
|
Some more bugfixes, got regex working as well as the cpp version. (leaks memory like craaazy)
|
2015-06-14 18:13:52 -04:00 |
|
Nathan Braswell
|
d90cb4b6db
|
Tons of stuff. Regex still a work in progress, along with related template member function scoping bugs
|
2015-06-09 20:02:02 -04:00 |
|
Nathan Braswell
|
47bc52f00c
|
Some bugfixes, allow overloading of [] and add that to vector and string, work on regex. Need closures before that finishes....
|
2015-06-08 21:47:02 -04:00 |
|
Nathan Braswell
|
69048ebc31
|
Allow copy_constructers to be called with other types (i.e. var a:string = "hi" calls fun copy_construct(it:char**):void
|
2015-06-07 19:54:08 -04:00 |
|
Nathan Braswell
|
7abab02fbf
|
More all-rounded implementation of the new objecty features, several bugfixes, and updates to the standard library to behave. Vector still needs a bit more work for some operations
|
2015-06-05 00:34:24 -04:00 |
|
Nathan Braswell
|
6f9ceaa717
|
work on string, bug fixes, overloaded assignment operator. Still need to get overloaded copy_construct for declaration assignment
|
2015-06-01 01:43:23 -04:00 |
|
Nathan Braswell
|
65fd2ed9b7
|
Changed from typedef to obj and def
|
2015-05-16 12:05:23 -04:00 |
|
Nathan Braswell
|
87e1853713
|
Wooo! Fixed up remaining bugs in new syntax!
|
2015-05-09 06:24:56 -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 |
|