onyx.git
3 years agocompletely revamped the polymorph solving system
Brendan Hansen [Sun, 14 Nov 2021 23:54:22 +0000 (17:54 -0600)]
completely revamped the polymorph solving system

3 years agoadded #init procedures that run before main
Brendan Hansen [Sun, 14 Nov 2021 19:36:30 +0000 (13:36 -0600)]
added #init procedures that run before main

3 years agomade "#type" optional in many cases
Brendan Hansen [Sat, 13 Nov 2021 15:18:14 +0000 (09:18 -0600)]
made "#type" optional in many cases

3 years agobugfixes; made foo(i32).{ ... } work
Brendan Hansen [Sat, 13 Nov 2021 05:19:40 +0000 (23:19 -0600)]
bugfixes; made foo(i32).{ ... } work

3 years agobugfixes and added assertions
Brendan Hansen [Sat, 13 Nov 2021 01:47:25 +0000 (19:47 -0600)]
bugfixes and added assertions

3 years agoupdated syntax definitions
Brendan Hansen [Fri, 12 Nov 2021 22:10:36 +0000 (16:10 -0600)]
updated syntax definitions

3 years agochanged #private to #package and #private_file to #local
Brendan Hansen [Fri, 12 Nov 2021 21:02:37 +0000 (15:02 -0600)]
changed #private to #package and #private_file to #local

3 years agotheoretical improvement to yielding in blocks
Brendan Hansen [Fri, 12 Nov 2021 20:46:35 +0000 (14:46 -0600)]
theoretical improvement to yielding in blocks

3 years agomade type constraints nicer to use
Brendan Hansen [Fri, 12 Nov 2021 18:12:44 +0000 (12:12 -0600)]
made type constraints nicer to use

3 years agoadded interfaces and type constraints
Brendan Hansen [Fri, 12 Nov 2021 05:44:13 +0000 (23:44 -0600)]
added interfaces and type constraints

3 years agochanged '#add_match' syntax
Brendan Hansen [Thu, 11 Nov 2021 20:59:39 +0000 (14:59 -0600)]
changed '#add_match' syntax

3 years agocleaning pending changes before starting interfaces
Brendan Hansen [Wed, 10 Nov 2021 16:40:27 +0000 (10:40 -0600)]
cleaning pending changes before starting interfaces

3 years agoremoved some 'should_yield' weirdness
Brendan Hansen [Tue, 9 Nov 2021 04:21:27 +0000 (22:21 -0600)]
removed some 'should_yield' weirdness

3 years agoAdded more yielding and remove ugly code
Brendan Hansen [Tue, 9 Nov 2021 03:22:20 +0000 (21:22 -0600)]
Added more yielding and remove ugly code

3 years agobugfix with exporting polymorphic procedures
Brendan Hansen [Mon, 8 Nov 2021 03:58:53 +0000 (21:58 -0600)]
bugfix with exporting polymorphic procedures

3 years agoadded example of #()
Brendan Hansen [Sat, 30 Oct 2021 01:21:03 +0000 (20:21 -0500)]
added example of #()

3 years agoadded wasmer windows libraries to project; bug fix
Brendan Hansen [Fri, 29 Oct 2021 23:38:25 +0000 (18:38 -0500)]
added wasmer windows libraries to project; bug fix

3 years agoadded macro example
Brendan Hansen [Fri, 29 Oct 2021 16:39:54 +0000 (11:39 -0500)]
added macro example

3 years agonow copy the libraries to the install directory
Brendan Hansen [Fri, 29 Oct 2021 14:27:33 +0000 (09:27 -0500)]
now copy the libraries to the install directory

3 years agorunning tests now uses builtin libwasmer
Brendan Hansen [Fri, 29 Oct 2021 14:01:43 +0000 (09:01 -0500)]
running tests now uses builtin libwasmer

3 years agobundled libwasmer into the repository
Brendan Hansen [Fri, 29 Oct 2021 13:42:20 +0000 (08:42 -0500)]
bundled libwasmer into the repository

3 years agodisable annoying warning
Brendan Hansen [Fri, 29 Oct 2021 04:19:34 +0000 (23:19 -0500)]
disable annoying warning

3 years agoadded 'onyx run' to windows (using wasmer)
Brendan Hansen [Fri, 29 Oct 2021 03:18:56 +0000 (22:18 -0500)]
added 'onyx run' to windows (using wasmer)

3 years agoadded explicit 'compile' option
Brendan Hansen [Thu, 28 Oct 2021 17:49:56 +0000 (12:49 -0500)]
added explicit 'compile' option

3 years agomore robustness to 'onyx run'
Brendan Hansen [Thu, 28 Oct 2021 17:24:11 +0000 (12:24 -0500)]
more robustness to 'onyx run'

3 years agoadded optional linking to wasmer on Linux
Brendan Hansen [Thu, 28 Oct 2021 15:59:37 +0000 (10:59 -0500)]
added optional linking to wasmer on Linux

3 years agosynchronizing changes
Brendan Hansen [Wed, 27 Oct 2021 22:12:05 +0000 (17:12 -0500)]
synchronizing changes

3 years agoadded vscode support
Brendan Hansen [Wed, 27 Oct 2021 16:23:10 +0000 (11:23 -0500)]
added vscode support

3 years agoused the wrong str
Brendan Hansen [Tue, 26 Oct 2021 13:09:47 +0000 (08:09 -0500)]
used the wrong str

3 years agoadded string.replace
Brendan Hansen [Tue, 26 Oct 2021 13:08:45 +0000 (08:08 -0500)]
added string.replace

3 years agobugfixes in modules
Brendan Hansen [Tue, 26 Oct 2021 02:59:25 +0000 (21:59 -0500)]
bugfixes in modules

3 years agono longer emitting post-mvp things if disabled
Brendan Hansen [Mon, 25 Oct 2021 19:20:08 +0000 (14:20 -0500)]
no longer emitting post-mvp things if disabled

3 years agocleaned up trying operator overloads
Brendan Hansen [Mon, 25 Oct 2021 17:29:26 +0000 (12:29 -0500)]
cleaned up trying operator overloads

3 years agoremoved foreign globals; cleaned up ast_flags
Brendan Hansen [Sun, 24 Oct 2021 02:58:16 +0000 (21:58 -0500)]
removed foreign globals; cleaned up ast_flags

3 years agobugfixes with operator overloading
Brendan Hansen [Sat, 23 Oct 2021 01:33:13 +0000 (20:33 -0500)]
bugfixes with operator overloading

3 years agotiny optimization of memory usage in op overload
Brendan Hansen [Fri, 22 Oct 2021 13:30:51 +0000 (08:30 -0500)]
tiny optimization of memory usage in op overload

3 years agoadded '[]=' operator overload; bugfixes
Brendan Hansen [Fri, 22 Oct 2021 12:56:47 +0000 (07:56 -0500)]
added '[]=' operator overload; bugfixes

3 years agoadded operator overload for '^[]'
Brendan Hansen [Fri, 22 Oct 2021 12:35:42 +0000 (07:35 -0500)]
added operator overload for '^[]'

3 years agoadded wasm parsing of shared memory modules
Brendan Hansen [Thu, 21 Oct 2021 19:05:49 +0000 (14:05 -0500)]
added wasm parsing of shared memory modules

3 years agoadded killing threads
Brendan Hansen [Thu, 21 Oct 2021 14:51:59 +0000 (09:51 -0500)]
added killing threads

3 years agothreading primitive bug fixes
Brendan Hansen [Wed, 20 Oct 2021 18:19:03 +0000 (13:19 -0500)]
threading primitive bug fixes

3 years agoheap bugfixes; changed static if to not capture defer statements
Brendan Hansen [Wed, 20 Oct 2021 11:39:30 +0000 (06:39 -0500)]
heap bugfixes; changed static if to not capture defer statements

3 years agofixed some threading primitives
Brendan Hansen [Wed, 20 Oct 2021 04:09:41 +0000 (23:09 -0500)]
fixed some threading primitives

3 years agomade webgl easier to use
Brendan Hansen [Tue, 19 Oct 2021 19:01:38 +0000 (14:01 -0500)]
made webgl easier to use

3 years agousing conditional segment initialization for multi-threading programs
Brendan Hansen [Tue, 19 Oct 2021 13:23:21 +0000 (08:23 -0500)]
using conditional segment initialization for multi-threading programs

3 years agostarted working on conditional segment initialization
Brendan Hansen [Tue, 19 Oct 2021 04:05:53 +0000 (23:05 -0500)]
started working on conditional segment initialization

3 years agoforgot I need to include html files
Brendan Hansen [Tue, 19 Oct 2021 02:42:30 +0000 (21:42 -0500)]
forgot I need to include html files

3 years agoadded 'ouit' module
Brendan Hansen [Mon, 18 Oct 2021 22:24:30 +0000 (17:24 -0500)]
added 'ouit' module

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