Brendan Hansen [Wed, 3 Feb 2021 19:48:30 +0000 (13:48 -0600)]
small bug fix; fixed timing on windows
Brendan Hansen [Wed, 3 Feb 2021 04:30:02 +0000 (22:30 -0600)]
same parser clean up using next_tokens_are
Brendan Hansen [Wed, 3 Feb 2021 04:26:27 +0000 (22:26 -0600)]
added compound declarations for struct members
Brendan Hansen [Tue, 2 Feb 2021 21:13:23 +0000 (15:13 -0600)]
added a unique identifier to scopes to uniquely identify them
Brendan Hansen [Tue, 2 Feb 2021 20:28:03 +0000 (14:28 -0600)]
added experimental 'method call' syntax
Brendan Hansen [Mon, 1 Feb 2021 19:52:58 +0000 (13:52 -0600)]
more random cleanups
Brendan Hansen [Mon, 1 Feb 2021 06:17:16 +0000 (00:17 -0600)]
more general cleanup
Brendan Hansen [Mon, 1 Feb 2021 05:52:55 +0000 (23:52 -0600)]
removed parse results concept; directly adding entities now
Brendan Hansen [Mon, 1 Feb 2021 05:26:48 +0000 (23:26 -0600)]
even more cleanup in the parser
Brendan Hansen [Mon, 1 Feb 2021 03:03:33 +0000 (21:03 -0600)]
more cleanup in the parser
Brendan Hansen [Mon, 1 Feb 2021 00:26:11 +0000 (18:26 -0600)]
removed 'proc' keyword from core libraries and examples
Brendan Hansen [Sun, 31 Jan 2021 23:48:42 +0000 (17:48 -0600)]
parser cleanup and bugfixes
Brendan Hansen [Sat, 30 Jan 2021 21:47:40 +0000 (15:47 -0600)]
general clean up in parser
Brendan Hansen [Sat, 30 Jan 2021 00:26:30 +0000 (18:26 -0600)]
top level bindings in struct scopes are even more useful
Brendan Hansen [Fri, 29 Jan 2021 17:53:19 +0000 (11:53 -0600)]
polymorphic struct types can have members accessed
Brendan Hansen [Fri, 29 Jan 2021 16:47:19 +0000 (10:47 -0600)]
small bugfix that makes inferred struct member types more useful
Brendan Hansen [Fri, 29 Jan 2021 15:30:04 +0000 (09:30 -0600)]
more robust static struct bindings; zero size struct bug fix
Brendan Hansen [Fri, 29 Jan 2021 15:19:37 +0000 (09:19 -0600)]
structures can have statically bound expressions in their scope
Brendan Hansen [Thu, 28 Jan 2021 22:25:00 +0000 (16:25 -0600)]
deleted some crap out of small_windows.h
Brendan Hansen [Thu, 28 Jan 2021 19:01:52 +0000 (13:01 -0600)]
allow for using members of polymorphic struct instantiations
Brendan Hansen [Thu, 28 Jan 2021 17:02:42 +0000 (11:02 -0600)]
made binary reading/writing faster
Brendan Hansen [Wed, 27 Jan 2021 16:15:15 +0000 (10:15 -0600)]
various little changes
Brendan Hansen [Mon, 25 Jan 2021 17:47:30 +0000 (11:47 -0600)]
flagged everywhere 32-bit pointers are assumed
Brendan Hansen [Mon, 25 Jan 2021 15:50:46 +0000 (09:50 -0600)]
tiny simplification
Brendan Hansen [Mon, 25 Jan 2021 14:39:12 +0000 (08:39 -0600)]
bug fix that crashed RemedyDB when debugging
probably due to stack overload and corrupting the stack frames.
Brendan Hansen [Mon, 25 Jan 2021 14:21:30 +0000 (08:21 -0600)]
cleaned up compound loading to use struct load logic
Brendan Hansen [Mon, 25 Jan 2021 14:04:16 +0000 (08:04 -0600)]
cleaned up compound storing to use struct store logic
Brendan Hansen [Mon, 25 Jan 2021 13:56:28 +0000 (07:56 -0600)]
cleaned up assignment emission
Brendan Hansen [Mon, 25 Jan 2021 04:19:58 +0000 (22:19 -0600)]
cleaned up storing of compound / simple types
Brendan Hansen [Mon, 25 Jan 2021 03:51:05 +0000 (21:51 -0600)]
cleaned up struct storing
Brendan Hansen [Sun, 24 Jan 2021 21:07:56 +0000 (15:07 -0600)]
cleaned up range for loop generation
Brendan Hansen [Sun, 24 Jan 2021 20:46:11 +0000 (14:46 -0600)]
cleaned up wasm block generation
Brendan Hansen [Sun, 24 Jan 2021 20:14:32 +0000 (14:14 -0600)]
cleaned up global_wasm_module
Brendan Hansen [Sun, 24 Jan 2021 17:32:44 +0000 (11:32 -0600)]
made explicit types on defaulted struct members optional
there are bugs if you 'use' a structure with this though.
Brendan Hansen [Sun, 24 Jan 2021 05:56:07 +0000 (23:56 -0600)]
small bugfixes with error message production
Brendan Hansen [Sat, 23 Jan 2021 16:32:48 +0000 (10:32 -0600)]
allow for 'sizeof' in array size; simplified binary reader
Brendan Hansen [Fri, 22 Jan 2021 22:07:22 +0000 (16:07 -0600)]
Added binary stream reader and writer
Brendan Hansen [Fri, 22 Jan 2021 15:46:16 +0000 (09:46 -0600)]
made the 'proc' keyword optional in procedure types
Brendan Hansen [Fri, 22 Jan 2021 04:29:42 +0000 (22:29 -0600)]
better floating point printing
Brendan Hansen [Thu, 21 Jan 2021 19:45:10 +0000 (13:45 -0600)]
improvements to WASI files; '--print-function-mappings' flag
Brendan Hansen [Thu, 21 Jan 2021 14:17:06 +0000 (08:17 -0600)]
added logging allocator; `proc` is even more optional
Brendan Hansen [Thu, 21 Jan 2021 04:40:21 +0000 (22:40 -0600)]
for loops can iterate over integers as a shorthand for starting from 0
Brendan Hansen [Thu, 21 Jan 2021 02:16:00 +0000 (20:16 -0600)]
better fix for sublime syntax
Brendan Hansen [Thu, 21 Jan 2021 02:02:49 +0000 (20:02 -0600)]
updated sublime syntax for optional proc keyword
Brendan Hansen [Thu, 21 Jan 2021 01:41:44 +0000 (19:41 -0600)]
realized tokens should not be arena allocated because they need to be in linear memory
Brendan Hansen [Thu, 21 Jan 2021 01:19:58 +0000 (19:19 -0600)]
fixed math.pow with negatives causing infinite loops
Brendan Hansen [Thu, 21 Jan 2021 00:56:15 +0000 (18:56 -0600)]
made 'proc' keyword optional in certain cases; bug fixes
Brendan Hansen [Wed, 20 Jan 2021 20:27:07 +0000 (14:27 -0600)]
hopefully fixed bug with github actions printing lots of crap
Brendan Hansen [Wed, 20 Jan 2021 19:57:02 +0000 (13:57 -0600)]
major code cleanup; removed old structures that didn't need to exist.
Everything is now part of a global "Context" that everything has access to.
Brendan Hansen [Tue, 19 Jan 2021 22:22:16 +0000 (16:22 -0600)]
fixed a small alignment issue that could have been impacting performance
Brendan Hansen [Tue, 19 Jan 2021 14:53:18 +0000 (08:53 -0600)]
updating documentation
Brendan Hansen [Tue, 19 Jan 2021 03:12:54 +0000 (21:12 -0600)]
changed sublime text highlighting to make polymorphic vars more visible
Brendan Hansen [Tue, 19 Jan 2021 02:58:35 +0000 (20:58 -0600)]
bug fix with solidify directives
Brendan Hansen [Mon, 18 Jan 2021 23:44:17 +0000 (17:44 -0600)]
code cleanup and documenting polymorphism
Brendan Hansen [Mon, 18 Jan 2021 01:55:38 +0000 (19:55 -0600)]
small cleanup of the new compile-time parameters
Brendan Hansen [Sat, 16 Jan 2021 19:29:24 +0000 (13:29 -0600)]
add little bit more safety when using types in expressions
Brendan Hansen [Sat, 16 Jan 2021 19:23:52 +0000 (13:23 -0600)]
better and safer error reporting when using type expression in normal expressions
Brendan Hansen [Sat, 16 Jan 2021 18:52:52 +0000 (12:52 -0600)]
very hacky implementation of baked compile-time procedures
Brendan Hansen [Sat, 16 Jan 2021 17:15:08 +0000 (11:15 -0600)]
better error reporting for polymorphic procedures
Brendan Hansen [Sat, 16 Jan 2021 02:15:38 +0000 (20:15 -0600)]
added more examples
Brendan Hansen [Fri, 15 Jan 2021 21:11:53 +0000 (15:11 -0600)]
bug fixes with making pointers 8 bytes in size on WASI
Brendan Hansen [Fri, 15 Jan 2021 19:04:13 +0000 (13:04 -0600)]
made pointers 8 bytes in size; easier transition to WASM64 or C backend
Brendan Hansen [Fri, 15 Jan 2021 16:24:18 +0000 (10:24 -0600)]
random bits of code cleanup
Brendan Hansen [Fri, 15 Jan 2021 15:45:25 +0000 (09:45 -0600)]
refactored a lot of the argument code for calls and struct literals
Brendan Hansen [Fri, 15 Jan 2021 02:46:13 +0000 (20:46 -0600)]
actually added the test case
Brendan Hansen [Fri, 15 Jan 2021 02:44:26 +0000 (20:44 -0600)]
added test case and small bugfix
Brendan Hansen [Fri, 15 Jan 2021 02:39:46 +0000 (20:39 -0600)]
working very of named arguments for function calls
Brendan Hansen [Fri, 15 Jan 2021 00:05:36 +0000 (18:05 -0600)]
BROKEN BUILD; want to debug on windows
Brendan Hansen [Thu, 14 Jan 2021 22:48:42 +0000 (16:48 -0600)]
removed AstCall.arg_count
Brendan Hansen [Thu, 14 Jan 2021 22:38:55 +0000 (16:38 -0600)]
struct literals work with new argument filling system
Brendan Hansen [Thu, 14 Jan 2021 22:07:59 +0000 (16:07 -0600)]
started working on refactoring named arguments
Brendan Hansen [Thu, 14 Jan 2021 18:42:34 +0000 (12:42 -0600)]
Merge remote-tracking branch 'origin/master'
Brendan Hansen [Thu, 14 Jan 2021 18:41:52 +0000 (12:41 -0600)]
added pool allocator to core library
Brendan Hansen [Thu, 14 Jan 2021 18:41:52 +0000 (12:41 -0600)]
added pool allocator to core library
Brendan Hansen [Thu, 14 Jan 2021 02:46:16 +0000 (20:46 -0600)]
polymorphic proc generation optimization
Brendan Hansen [Wed, 13 Jan 2021 23:33:28 +0000 (17:33 -0600)]
just random changes
Brendan Hansen [Wed, 13 Jan 2021 23:26:54 +0000 (17:26 -0600)]
added struct and enum examples
Brendan Hansen [Wed, 13 Jan 2021 23:26:19 +0000 (17:26 -0600)]
arrays can cast to slices of the same type
Brendan Hansen [Wed, 13 Jan 2021 23:26:00 +0000 (17:26 -0600)]
added operator overload test case
Brendan Hansen [Tue, 12 Jan 2021 23:12:32 +0000 (17:12 -0600)]
Merge pull request #34 from Graylunchbox74/master
added pow function
Graylunchbox74 [Tue, 12 Jan 2021 23:08:22 +0000 (17:08 -0600)]
added pow function
Brendan Hansen [Tue, 12 Jan 2021 22:23:08 +0000 (16:23 -0600)]
updated CHANGELOG; minor bug fixes
Brendan Hansen [Tue, 12 Jan 2021 21:31:25 +0000 (15:31 -0600)]
fixed infinite loop bug with multiple declarations
Brendan Hansen [Tue, 12 Jan 2021 21:22:45 +0000 (15:22 -0600)]
better handling for type solidification in compound expressions
Brendan Hansen [Tue, 12 Jan 2021 21:06:23 +0000 (15:06 -0600)]
updated io.stream to use multiple return values; small mrv bug fixes
Brendan Hansen [Tue, 12 Jan 2021 20:34:48 +0000 (14:34 -0600)]
Merge pull request #33 from brendanfh/multiple-returns
Multiple returns #32
Brendan Hansen [Tue, 12 Jan 2021 20:33:40 +0000 (14:33 -0600)]
added test case for multiple returns/declarations
Brendan Hansen [Tue, 12 Jan 2021 20:32:07 +0000 (14:32 -0600)]
multiple declarations work in procedure bodies
Brendan Hansen [Tue, 12 Jan 2021 16:49:40 +0000 (10:49 -0600)]
polymorphic variables on compound types
Brendan Hansen [Tue, 12 Jan 2021 16:13:38 +0000 (10:13 -0600)]
finalized returning multiple values
Brendan Hansen [Tue, 12 Jan 2021 04:22:12 +0000 (22:22 -0600)]
began work on multiple return values
Brendan Hansen [Mon, 11 Jan 2021 21:50:37 +0000 (15:50 -0600)]
implemented #27
Brendan Hansen [Mon, 11 Jan 2021 18:59:26 +0000 (12:59 -0600)]
small cleanup with parameters being mutable now
Brendan Hansen [Mon, 11 Jan 2021 18:32:04 +0000 (12:32 -0600)]
minor changes to parameter logic
Brendan Hansen [Mon, 11 Jan 2021 14:39:40 +0000 (08:39 -0600)]
minor bug fixes with polymorphic procedures
Brendan Hansen [Mon, 11 Jan 2021 05:39:30 +0000 (23:39 -0600)]
polymorphic procedures are allowed in overloaded functions
Brendan Hansen [Sun, 10 Jan 2021 22:16:17 +0000 (16:16 -0600)]
code cleanup making new ast nodes
Brendan Hansen [Sun, 10 Jan 2021 17:14:00 +0000 (11:14 -0600)]
small improvements
Brendan Hansen [Sun, 10 Jan 2021 16:20:59 +0000 (10:20 -0600)]
bug fix with invalid binary operator in modify-assignment
Brendan Hansen [Sun, 10 Jan 2021 14:41:35 +0000 (08:41 -0600)]
cleaner code for operator overloading