onyx.git
3 years agoswitched the order of parameters in thread.spawn threading
Brendan Hansen [Mon, 18 Oct 2021 17:05:15 +0000 (12:05 -0500)]
switched the order of parameters in thread.spawn

3 years agobugfix with barrier mutex
Brendan Hansen [Mon, 18 Oct 2021 16:13:58 +0000 (11:13 -0500)]
bugfix with barrier mutex

3 years agoadded barrier and condition variable implementation
Brendan Hansen [Mon, 18 Oct 2021 16:06:22 +0000 (11:06 -0500)]
added barrier and condition variable implementation

3 years agoupdated js loader to support multiple threads
Brendan Hansen [Mon, 18 Oct 2021 14:08:09 +0000 (09:08 -0500)]
updated js loader to support multiple threads

3 years agofixed a bug with memory segments initializing every time
Brendan Hansen [Mon, 18 Oct 2021 02:33:20 +0000 (21:33 -0500)]
fixed a bug with memory segments initializing every time

3 years agobugfix with context not being initialized yet
Brendan Hansen [Mon, 18 Oct 2021 00:49:35 +0000 (19:49 -0500)]
bugfix with context not being initialized yet

3 years agocleaned up initialization process
Brendan Hansen [Mon, 18 Oct 2021 00:29:45 +0000 (19:29 -0500)]
cleaned up initialization process

3 years agomade onyx-js work for non-multithreaded programs again
Brendan Hansen [Sun, 17 Oct 2021 23:42:07 +0000 (18:42 -0500)]
made onyx-js work for non-multithreaded programs again

3 years agoadded #threadlocal storage
Brendan Hansen [Sun, 17 Oct 2021 23:33:58 +0000 (18:33 -0500)]
added #threadlocal storage

3 years agobugfixes with __atomic_wait
Brendan Hansen [Sun, 17 Oct 2021 22:48:17 +0000 (17:48 -0500)]
bugfixes with __atomic_wait

3 years agocleanup and bugfixes
Brendan Hansen [Sun, 17 Oct 2021 21:24:15 +0000 (16:24 -0500)]
cleanup and bugfixes

3 years agoadded a (maybe function) semaphore implementation
Brendan Hansen [Sun, 17 Oct 2021 21:21:10 +0000 (16:21 -0500)]
added a (maybe function) semaphore implementation

3 years agoadded basic implementation of Mutex and Thread. made heap thread safe
Brendan Hansen [Sun, 17 Oct 2021 20:59:24 +0000 (15:59 -0500)]
added basic implementation of Mutex and Thread. made heap thread safe

3 years agosuccessful multi-threading on NodeJS!
Brendan Hansen [Sun, 17 Oct 2021 20:10:36 +0000 (15:10 -0500)]
successful multi-threading on NodeJS!

3 years agofinished atomic intrinsics implementation
Brendan Hansen [Sat, 16 Oct 2021 23:11:37 +0000 (18:11 -0500)]
finished atomic intrinsics implementation

3 years agostarting to implement threading on the browser
Brendan Hansen [Sat, 16 Oct 2021 21:42:40 +0000 (16:42 -0500)]
starting to implement threading on the browser

3 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Fri, 15 Oct 2021 18:50:52 +0000 (13:50 -0500)]
Merge remote-tracking branch 'origin/master'

3 years agobugfix with #auto return type being "solved" early
Brendan Hansen [Fri, 15 Oct 2021 18:50:44 +0000 (13:50 -0500)]
bugfix with #auto return type being "solved" early

3 years agosizeof and alignof are compile time known
Brendan Hansen [Fri, 15 Oct 2021 03:46:53 +0000 (22:46 -0500)]
sizeof and alignof are compile time known

3 years agorandom bugfixes and changes
Brendan Hansen [Fri, 15 Oct 2021 03:00:31 +0000 (22:00 -0500)]
random bugfixes and changes

3 years agoadded completely escaped strings (""")
Brendan Hansen [Thu, 14 Oct 2021 17:19:09 +0000 (12:19 -0500)]
added completely escaped strings (""")

3 years agobetter array literals with polymorphism
Brendan Hansen [Wed, 13 Oct 2021 16:32:27 +0000 (11:32 -0500)]
better array literals with polymorphism

3 years agomore robust array literals
Brendan Hansen [Wed, 13 Oct 2021 13:10:50 +0000 (08:10 -0500)]
more robust array literals

3 years agoactually fixed array literals
Brendan Hansen [Tue, 12 Oct 2021 03:38:05 +0000 (22:38 -0500)]
actually fixed array literals

3 years agomaybe fixed array literals
Brendan Hansen [Tue, 12 Oct 2021 03:29:55 +0000 (22:29 -0500)]
maybe fixed array literals

3 years agofixed aliases resolving to self
Brendan Hansen [Mon, 11 Oct 2021 15:49:12 +0000 (10:49 -0500)]
fixed aliases resolving to self

3 years agomade map and set functions able to be 'methods'
Brendan Hansen [Mon, 11 Oct 2021 04:29:25 +0000 (23:29 -0500)]
made map and set functions able to be 'methods'

3 years agorewrote Set to rehash
Brendan Hansen [Sun, 10 Oct 2021 23:33:27 +0000 (18:33 -0500)]
rewrote Set to rehash

3 years agoupdated global immediate renderer to use macros
Brendan Hansen [Sun, 10 Oct 2021 18:50:05 +0000 (13:50 -0500)]
updated global immediate renderer to use macros

3 years agobugfixes
Brendan Hansen [Sat, 9 Oct 2021 18:16:03 +0000 (13:16 -0500)]
bugfixes

3 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Fri, 8 Oct 2021 19:57:15 +0000 (14:57 -0500)]
Merge remote-tracking branch 'origin/master'

3 years agoadded printing type table
Brendan Hansen [Fri, 8 Oct 2021 19:57:04 +0000 (14:57 -0500)]
added printing type table

3 years agomarking struct types as comptime known
Brendan Hansen [Fri, 8 Oct 2021 17:40:20 +0000 (12:40 -0500)]
marking struct types as comptime known

3 years agonested struct names now have enclosing scopes in name
Brendan Hansen [Fri, 8 Oct 2021 17:25:40 +0000 (12:25 -0500)]
nested struct names now have enclosing scopes in name

3 years agopolymorphic struct information can be queried in type_info
Brendan Hansen [Fri, 8 Oct 2021 03:39:24 +0000 (22:39 -0500)]
polymorphic struct information can be queried in type_info

3 years agochanged tag syntax for structs
Brendan Hansen [Thu, 7 Oct 2021 18:51:17 +0000 (13:51 -0500)]
changed tag syntax for structs

3 years agochangec tag syntax for struct members; added top-level #tag
Brendan Hansen [Thu, 7 Oct 2021 04:15:31 +0000 (23:15 -0500)]
changec tag syntax for struct members; added top-level #tag

3 years agostructs can have tags; some bugfixes
Brendan Hansen [Wed, 6 Oct 2021 19:43:54 +0000 (14:43 -0500)]
structs can have tags; some bugfixes

3 years agoadded tagging to struct members
Brendan Hansen [Tue, 5 Oct 2021 23:41:32 +0000 (18:41 -0500)]
added tagging to struct members

3 years agobetter support for singular 'any'
Brendan Hansen [Tue, 5 Oct 2021 21:20:59 +0000 (16:20 -0500)]
better support for singular 'any'

3 years agoadded Scrollable_Region_Handle
Brendan Hansen [Tue, 5 Oct 2021 02:10:18 +0000 (21:10 -0500)]
added Scrollable_Region_Handle

3 years agorandom additions
Brendan Hansen [Tue, 5 Oct 2021 01:04:25 +0000 (20:04 -0500)]
random additions

3 years agoadded test case
Brendan Hansen [Mon, 4 Oct 2021 16:27:39 +0000 (11:27 -0500)]
added test case

3 years agobetter maps and json; fixed anonymous struct bug
Brendan Hansen [Mon, 4 Oct 2021 16:26:57 +0000 (11:26 -0500)]
better maps and json; fixed anonymous struct bug

3 years agobugfix with arrays in structures
Brendan Hansen [Fri, 1 Oct 2021 16:04:09 +0000 (11:04 -0500)]
bugfix with arrays in structures

3 years agorandom bugfixes; better __zero_value support for arrays.
Brendan Hansen [Fri, 1 Oct 2021 15:34:24 +0000 (10:34 -0500)]
random bugfixes; better __zero_value support for arrays.

3 years agoadded ".count" to array-typed things
Brendan Hansen [Wed, 29 Sep 2021 17:52:14 +0000 (12:52 -0500)]
added ".count" to array-typed things

3 years agochanged map.update to be a macro
Brendan Hansen [Wed, 29 Sep 2021 04:06:11 +0000 (23:06 -0500)]
changed map.update to be a macro

3 years agobugfix with type aliasing; add #() for quick code block
Brendan Hansen [Tue, 28 Sep 2021 15:45:46 +0000 (10:45 -0500)]
bugfix with type aliasing; add #() for quick code block

3 years agosilly little bugfix for type alias to poly-instantiation
Brendan Hansen [Tue, 28 Sep 2021 03:34:12 +0000 (22:34 -0500)]
silly little bugfix for type alias to poly-instantiation

3 years agobugfixes and added lcm and gcd
Brendan Hansen [Tue, 28 Sep 2021 02:57:36 +0000 (21:57 -0500)]
bugfixes and added lcm and gcd

3 years agobug fixes with operator overloading with anonymous struct literals
Brendan Hansen [Sat, 25 Sep 2021 17:24:47 +0000 (12:24 -0500)]
bug fixes with operator overloading with anonymous struct literals

3 years agoadded auto return syntax shortcut
Brendan Hansen [Sat, 25 Sep 2021 17:16:08 +0000 (12:16 -0500)]
added auto return syntax shortcut

3 years agooverloaded procedures example; added set.iterator
Brendan Hansen [Thu, 23 Sep 2021 16:54:15 +0000 (11:54 -0500)]
overloaded procedures example; added set.iterator

3 years agousing new features in the ui library
Brendan Hansen [Tue, 21 Sep 2021 22:59:28 +0000 (17:59 -0500)]
using new features in the ui library

3 years agorandom improvements
Brendan Hansen [Tue, 21 Sep 2021 04:17:40 +0000 (23:17 -0500)]
random improvements

3 years agoadded more internal control to ui animations
Brendan Hansen [Thu, 16 Sep 2021 03:47:17 +0000 (22:47 -0500)]
added more internal control to ui animations

3 years agoadded passing macros as baked arguments
Brendan Hansen [Sat, 11 Sep 2021 23:17:38 +0000 (18:17 -0500)]
added passing macros as baked arguments

3 years agopolymorhic solving bugfix and added quicksort
Brendan Hansen [Sat, 11 Sep 2021 22:49:51 +0000 (17:49 -0500)]
polymorhic solving bugfix and added quicksort

3 years agoadded compound declarations of procedure arguments
Brendan Hansen [Sat, 11 Sep 2021 04:07:25 +0000 (23:07 -0500)]
added compound declarations of procedure arguments

3 years agomade the array functions work with slices too
Brendan Hansen [Fri, 10 Sep 2021 20:55:27 +0000 (15:55 -0500)]
made the array functions work with slices too

3 years agobetter interop between array types
Brendan Hansen [Fri, 10 Sep 2021 15:30:58 +0000 (10:30 -0500)]
better interop between array types

3 years agobugfix with untyped arguments
Brendan Hansen [Thu, 9 Sep 2021 14:15:02 +0000 (09:15 -0500)]
bugfix with untyped arguments

3 years agomemres bugfix and renamed poorly named function
Brendan Hansen [Thu, 9 Sep 2021 03:44:23 +0000 (22:44 -0500)]
memres bugfix and renamed poorly named function

3 years agooverloaded procedures are more powerful; bugfixes
Brendan Hansen [Wed, 8 Sep 2021 23:37:36 +0000 (18:37 -0500)]
overloaded procedures are more powerful; bugfixes

3 years agorenamed type_check_or_auto_cast
Brendan Hansen [Wed, 8 Sep 2021 15:03:55 +0000 (10:03 -0500)]
renamed type_check_or_auto_cast

3 years agomade slice, varargs and dynamic array types simpler
Brendan Hansen [Wed, 8 Sep 2021 13:49:28 +0000 (08:49 -0500)]
made slice, varargs and dynamic array types simpler

3 years agorenamed the compiler source files.
Brendan Hansen [Wed, 8 Sep 2021 13:16:46 +0000 (08:16 -0500)]
renamed the compiler source files.

3 years agobugfixes in compiler and core libraries
Brendan Hansen [Wed, 8 Sep 2021 03:19:02 +0000 (22:19 -0500)]
bugfixes in compiler and core libraries

3 years agoadded blocked private_file and private flags
Brendan Hansen [Thu, 2 Sep 2021 23:04:56 +0000 (18:04 -0500)]
added blocked private_file and private flags

3 years agobugfix with do expressions
Brendan Hansen [Tue, 31 Aug 2021 16:05:58 +0000 (11:05 -0500)]
bugfix with do expressions

3 years agoquick functions can return multiple things
Brendan Hansen [Tue, 31 Aug 2021 02:26:13 +0000 (21:26 -0500)]
quick functions can return multiple things

3 years agoadded unfinished examples
Brendan Hansen [Mon, 30 Aug 2021 20:06:22 +0000 (15:06 -0500)]
added unfinished examples

3 years agoquick-function macros; error message cleanup
Brendan Hansen [Mon, 30 Aug 2021 20:02:22 +0000 (15:02 -0500)]
quick-function macros; error message cleanup

3 years agobugfix with return type being an alias
Brendan Hansen [Mon, 30 Aug 2021 16:00:50 +0000 (11:00 -0500)]
bugfix with return type being an alias

3 years agoadded overloadable assignment operators
Brendan Hansen [Mon, 30 Aug 2021 12:13:49 +0000 (07:13 -0500)]
added overloadable assignment operators

3 years agobugfixes with aliasing to poly structs; added 'Map' and 'Set' aliases
Brendan Hansen [Mon, 30 Aug 2021 00:37:16 +0000 (19:37 -0500)]
bugfixes with aliasing to poly structs; added 'Map' and 'Set' aliases

3 years agobugfix with deferred statements in macros
Brendan Hansen [Sun, 29 Aug 2021 21:44:04 +0000 (16:44 -0500)]
bugfix with deferred statements in macros

3 years agomaking initialization statements on if/while/switch better
Brendan Hansen [Sun, 29 Aug 2021 21:12:38 +0000 (16:12 -0500)]
making initialization statements on if/while/switch better

3 years agobugfix with deferred blocks in macros with locals
Brendan Hansen [Sun, 29 Aug 2021 17:23:08 +0000 (12:23 -0500)]
bugfix with deferred blocks in macros with locals

3 years agobugfix with macros with auto-return type
Brendan Hansen [Sun, 29 Aug 2021 04:05:07 +0000 (23:05 -0500)]
bugfix with macros with auto-return type

3 years agobugfixes with expression macro substitutions
Brendan Hansen [Sun, 29 Aug 2021 01:31:54 +0000 (20:31 -0500)]
bugfixes with expression macro substitutions

3 years agoadded macros at the expression level
Brendan Hansen [Sat, 28 Aug 2021 20:10:18 +0000 (15:10 -0500)]
added macros at the expression level

3 years agoadded 'do' expressions
Brendan Hansen [Sat, 28 Aug 2021 18:27:04 +0000 (13:27 -0500)]
added 'do' expressions

3 years agotabs are now supported by error message reporting
Brendan Hansen [Sat, 28 Aug 2021 15:21:36 +0000 (10:21 -0500)]
tabs are now supported by error message reporting

3 years agocode cleanup
Brendan Hansen [Sat, 28 Aug 2021 02:56:06 +0000 (21:56 -0500)]
code cleanup

3 years agoscary changes
Brendan Hansen [Fri, 27 Aug 2021 03:53:16 +0000 (22:53 -0500)]
scary changes

3 years agostabilized entity sorting so cycle detection works better
Brendan Hansen [Thu, 26 Aug 2021 15:25:46 +0000 (10:25 -0500)]
stabilized entity sorting so cycle detection works better

3 years agocode cleanup in cloner and checker. proper cycle detection again
Brendan Hansen [Thu, 26 Aug 2021 14:50:11 +0000 (09:50 -0500)]
code cleanup in cloner and checker. proper cycle detection again

3 years agobugfixes with core libs
Brendan Hansen [Mon, 23 Aug 2021 21:01:33 +0000 (16:01 -0500)]
bugfixes with core libs

3 years agoadded auto-return type
Brendan Hansen [Mon, 23 Aug 2021 20:24:33 +0000 (15:24 -0500)]
added auto-return type

3 years agobugfixes and fixed spelling of "polymoprhic"
Brendan Hansen [Mon, 23 Aug 2021 20:24:01 +0000 (15:24 -0500)]
bugfixes and fixed spelling of "polymoprhic"

3 years ago'typeof' bugfixes and added quick functions (=>)
Brendan Hansen [Mon, 23 Aug 2021 12:55:03 +0000 (07:55 -0500)]
'typeof' bugfixes and added quick functions (=>)

3 years agobetter printing for enum flags
Brendan Hansen [Mon, 23 Aug 2021 00:00:58 +0000 (19:00 -0500)]
better printing for enum flags

3 years agoadded 'typeof'
Brendan Hansen [Mon, 23 Aug 2021 00:00:47 +0000 (19:00 -0500)]
added 'typeof'

3 years agobugfix with use in parameters and yielding
Brendan Hansen [Thu, 19 Aug 2021 20:08:39 +0000 (15:08 -0500)]
bugfix with use in parameters and yielding

3 years agocleanup and random additions
Brendan Hansen [Wed, 18 Aug 2021 12:36:43 +0000 (07:36 -0500)]
cleanup and random additions

3 years agosmall cleanup with macros
Brendan Hansen [Tue, 17 Aug 2021 03:07:09 +0000 (22:07 -0500)]
small cleanup with macros

3 years agostarting to use macros because they are powerful
Brendan Hansen [Fri, 13 Aug 2021 15:48:54 +0000 (10:48 -0500)]
starting to use macros because they are powerful

3 years agopolymorphic macros as overloads
Brendan Hansen [Fri, 13 Aug 2021 14:50:17 +0000 (09:50 -0500)]
polymorphic macros as overloads