Nathan Braswell
|
eefa752d55
|
shortening of str and vec
|
2018-05-22 19:43:54 -04:00 |
|
Nathan Braswell
|
754ff41226
|
C_generator can call raw function pointers now
|
2017-01-28 00:09:13 -05:00 |
|
Nathan Braswell
|
b0d2a6918d
|
Regex rewrite for big speed gain, some extras (--no-c-compile), -O2 is default now
|
2016-08-02 01:33:16 -07:00 |
|
Nathan Braswell
|
87c2b1d2c1
|
Interpreter up to 71/73 tests passing, the only ones that don't yet are the future ones. Struct size is still wrong though
|
2016-07-03 01:55:32 -07:00 |
|
Nathan Braswell
|
2c8c3af48a
|
Some speed improvements
|
2016-06-11 00:45:18 -07:00 |
|
Nathan Braswell
|
133bf29cdf
|
Added straight-string optimization to regex, converted a bit more of the grammer
|
2016-05-10 01:23:37 -04:00 |
|
Nathan Braswell
|
4d31ca8b0f
|
Added a partial fix to regex, started improving the krakenGrammer regexes
|
2016-05-10 00:40:46 -04:00 |
|
Nathan Braswell
|
9d7a65294f
|
Optimizations, regex character ranges
|
2016-05-05 04:51:10 -04:00 |
|
Nathan Braswell
|
5b2d394436
|
Some speed improvements
|
2016-04-22 19:11:11 -04:00 |
|
Nathan Braswell
|
04d2af4168
|
Bugfixes, remove the cast_ptr function
|
2016-04-19 06:04:22 -04:00 |
|
Nathan Braswell
|
b073d5806b
|
Templated methods work now, even explicit instantiation (along with implicit)
|
2016-02-20 02:36:35 -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
|
8b77a60be5
|
More ast_transformation work, but the big change was fixing regex so that it didn't have an exponential implmentation by using sets instead of vectors to deduplicate
|
2016-01-02 01:43:41 -05:00 |
|
Nathan Braswell
|
466b2310db
|
Make the grammer test work again by updating grammer and parser to use the new adt syntax - I also messed up commenting out one of the cout lines making lambdas not work.
|
2015-11-14 20:13:42 -05:00 |
|
Nathan Braswell
|
d72cbdcedb
|
Serilization and caching the table works!
|
2015-08-26 03:45:34 -04:00 |
|
Nathan Braswell
|
07e54f67fb
|
Changed regex to reference count internal structure instead of cloning because it too way too long. Added terminal decorators to grammer and lexer
|
2015-07-08 13:43:06 -04:00 |
|
Nathan Braswell
|
f3cdea068e
|
Added mem::safe_recursive_clone, and while it works for regex, it's actually slower then remaking it. Hmmmm, maybe because some of the stdlib is inefficent
|
2015-07-07 00:46:00 -04:00 |
|
Nathan Braswell
|
92f5c63c9a
|
Grammer loading works and test file can lex itself. Got rid of regex memory saftey for speed, will reintroduce next
|
2015-07-06 13:48:19 -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
|
2fcace72ed
|
Little break work on grammer, added Object trait to other stdlib objects
|
2015-06-30 02:40:46 -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
|
48683889da
|
Tons of bugfixes (lots with closures). Added safe_recursive_delete to mem which helps easily and safely delete recursive data structures, and used it in regex. It still has a leak, but it's a lot better than before.
|
2015-06-28 14:27:48 -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
|
1e76bf2772
|
Closures work\!
|
2015-06-26 13:29:37 -04:00 |
|
Nathan Braswell
|
3ed6a15ab4
|
Clean up debugging, a little more test
|
2015-06-15 21:32:09 -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
|
48f613a38b
|
More work on regex, fixed whitespace around && and operator= for vector
|
2015-06-14 11:13:30 -04:00 |
|
Nathan Braswell
|
cd1b10a633
|
Fixed bug where no parameter function calls were not typechecked and function/struct name collision. Improved regex library to where it can do straight-line regexs
|
2015-06-12 14:16:28 -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 |
|