Brendan Hansen [Tue, 16 Feb 2021 19:47:07 +0000 (13:47 -0600)]
small cleanup and better CLI documentation
Brendan Hansen [Tue, 16 Feb 2021 14:44:36 +0000 (08:44 -0600)]
small cleanup and bugfix with code generation
Brendan Hansen [Mon, 15 Feb 2021 22:49:54 +0000 (16:49 -0600)]
abstracted pointer operations in WASM generation
Brendan Hansen [Mon, 15 Feb 2021 05:00:00 +0000 (23:00 -0600)]
small changes and cleanups
Brendan Hansen [Tue, 9 Feb 2021 21:34:18 +0000 (15:34 -0600)]
added runtime configuration at compile-time; removed redundant files
Brendan Hansen [Tue, 9 Feb 2021 14:03:43 +0000 (08:03 -0600)]
made #solidify more resilient by adding per entity type retries
Brendan Hansen [Tue, 9 Feb 2021 04:24:51 +0000 (22:24 -0600)]
working on build_opts variables
Brendan Hansen [Tue, 9 Feb 2021 03:36:37 +0000 (21:36 -0600)]
starting to think about build options
Brendan Hansen [Tue, 9 Feb 2021 03:05:56 +0000 (21:05 -0600)]
added ability to cause static errors with '#error'
Brendan Hansen [Mon, 8 Feb 2021 15:07:55 +0000 (09:07 -0600)]
added 'else' clause to static if statements
Brendan Hansen [Mon, 8 Feb 2021 14:50:34 +0000 (08:50 -0600)]
code clean up; made 'use package' in procedures be an entity
Brendan Hansen [Sun, 7 Feb 2021 13:56:11 +0000 (07:56 -0600)]
static ifs are very powerful now
Brendan Hansen [Sat, 6 Feb 2021 21:51:45 +0000 (15:51 -0600)]
added basic cycle detection and breaking
Brendan Hansen [Sat, 6 Feb 2021 20:43:12 +0000 (14:43 -0600)]
static if are kinda powerful now, with some exceptions
Brendan Hansen [Sat, 6 Feb 2021 19:30:01 +0000 (13:30 -0600)]
cleaned up symbol resolution in types and other bugs
Brendan Hansen [Sat, 6 Feb 2021 17:55:11 +0000 (11:55 -0600)]
added the basic of static if statements; complex cases are broken
Brendan Hansen [Sat, 6 Feb 2021 03:59:58 +0000 (21:59 -0600)]
refactored entities to be allocated to an arena
Brendan Hansen [Fri, 5 Feb 2021 23:24:16 +0000 (17:24 -0600)]
added a struct test case
Brendan Hansen [Fri, 5 Feb 2021 22:12:38 +0000 (16:12 -0600)]
converted symbol introducing to be an entity, instead of in the parser
Brendan Hansen [Fri, 5 Feb 2021 19:44:09 +0000 (13:44 -0600)]
made method call syntax more useful
Brendan Hansen [Fri, 5 Feb 2021 15:26:44 +0000 (09:26 -0600)]
more robust symbol resolution with nested structs
Brendan Hansen [Fri, 5 Feb 2021 04:18:24 +0000 (22:18 -0600)]
tiny and insignificant changes
Brendan Hansen [Thu, 4 Feb 2021 20:21:01 +0000 (14:21 -0600)]
bulked up core math library
Brendan Hansen [Thu, 4 Feb 2021 16:43:00 +0000 (10:43 -0600)]
split apart wasm generation file
Brendan Hansen [Thu, 4 Feb 2021 00:25:43 +0000 (18:25 -0600)]
added alternative implementation for memory copy/fill for unsupporting WASM engines
Brendan Hansen [Wed, 3 Feb 2021 21:20:52 +0000 (15:20 -0600)]
added bulk-memory intrinsics; bug fix
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