onyx.git
3 years agomore helpful error messages for misspelled symbols
Brendan Hansen [Wed, 24 Nov 2021 03:14:57 +0000 (21:14 -0600)]
more helpful error messages for misspelled symbols

3 years agoremoving unused gross code
Brendan Hansen [Wed, 24 Nov 2021 00:08:25 +0000 (18:08 -0600)]
removing unused gross code

3 years agobugfixes with range iterator and mutex improvement
Brendan Hansen [Tue, 23 Nov 2021 18:24:53 +0000 (12:24 -0600)]
bugfixes with range iterator and mutex improvement

3 years agomade thread.spawn polymorphic to make quick functions nicer
Brendan Hansen [Tue, 23 Nov 2021 05:02:19 +0000 (23:02 -0600)]
made thread.spawn polymorphic to make quick functions nicer

3 years agobug fixes with threading
Brendan Hansen [Tue, 23 Nov 2021 03:44:34 +0000 (21:44 -0600)]
bug fixes with threading

3 years agofactored common code
Brendan Hansen [Tue, 23 Nov 2021 03:00:09 +0000 (21:00 -0600)]
factored common code

3 years agobugfixes with threading
Brendan Hansen [Tue, 23 Nov 2021 00:54:57 +0000 (18:54 -0600)]
bugfixes with threading

3 years agoonyx run multithreaded on windows
Brendan Hansen [Mon, 22 Nov 2021 21:40:37 +0000 (15:40 -0600)]
onyx run multithreaded on windows

3 years ago`onyx run` supports multi threads
Brendan Hansen [Mon, 22 Nov 2021 15:51:12 +0000 (09:51 -0600)]
`onyx run` supports multi threads

3 years agoadded test for availability of wait and notify
Brendan Hansen [Mon, 22 Nov 2021 04:31:09 +0000 (22:31 -0600)]
added test for availability of wait and notify

3 years agotiny notes
Brendan Hansen [Mon, 22 Nov 2021 03:28:51 +0000 (21:28 -0600)]
tiny notes

3 years agosmall bugfix
Brendan Hansen [Fri, 19 Nov 2021 22:55:57 +0000 (16:55 -0600)]
small bugfix

3 years agoMerge branch 'master' of github.com:brendanfh/onyx
Brendan Hansen [Fri, 19 Nov 2021 18:34:34 +0000 (12:34 -0600)]
Merge branch 'master' of github.com:brendanfh/onyx

3 years agopreparing for release v0.1.0
Brendan Hansen [Fri, 19 Nov 2021 18:34:13 +0000 (12:34 -0600)]
preparing for release v0.1.0

3 years agousing language features
Brendan Hansen [Fri, 19 Nov 2021 00:14:04 +0000 (18:14 -0600)]
using language features

3 years agobugfixes and completely removed 'proc' keyword
Brendan Hansen [Wed, 17 Nov 2021 21:00:42 +0000 (15:00 -0600)]
bugfixes and completely removed 'proc' keyword

3 years agosmall updates
Brendan Hansen [Tue, 16 Nov 2021 01:48:37 +0000 (19:48 -0600)]
small updates

3 years agoaccidentally cut something out
Brendan Hansen [Mon, 15 Nov 2021 19:49:18 +0000 (13:49 -0600)]
accidentally cut something out

3 years agobugfix with new enum abilities
Brendan Hansen [Mon, 15 Nov 2021 19:45:44 +0000 (13:45 -0600)]
bugfix with new enum abilities

3 years agoenum values are no longer bad
Brendan Hansen [Mon, 15 Nov 2021 19:27:20 +0000 (13:27 -0600)]
enum values are no longer bad

3 years agoadded complicated_polymorph test
Brendan Hansen [Mon, 15 Nov 2021 16:05:16 +0000 (10:05 -0600)]
added complicated_polymorph test

3 years agochanged lazy_iterators test
Brendan Hansen [Mon, 15 Nov 2021 16:04:26 +0000 (10:04 -0600)]
changed lazy_iterators test

3 years agofixed a couple of very annoying bugs
Brendan Hansen [Mon, 15 Nov 2021 15:28:48 +0000 (09:28 -0600)]
fixed a couple of very annoying bugs

3 years agopolymorphism is even more powerful now!
Brendan Hansen [Mon, 15 Nov 2021 02:04:57 +0000 (20:04 -0600)]
polymorphism is even more powerful now!

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