onyx.git
4 years agoadded some color to the error messages (linux only)
Brendan Hansen [Sun, 20 Jun 2021 20:10:54 +0000 (15:10 -0500)]
added some color to the error messages (linux only)

4 years agobugfixes and added animation theme to ui module
Brendan Hansen [Sun, 20 Jun 2021 18:26:38 +0000 (13:26 -0500)]
bugfixes and added animation theme to ui module

4 years agoupdated test case that had a pointer in it
Brendan Hansen [Sun, 20 Jun 2021 15:28:41 +0000 (10:28 -0500)]
updated test case that had a pointer in it

4 years agoadded field accesses on r-values
Brendan Hansen [Sun, 20 Jun 2021 15:27:12 +0000 (10:27 -0500)]
added field accesses on r-values

4 years agooptimized the number of instructions it takes to copy an array
Brendan Hansen [Sun, 20 Jun 2021 12:37:43 +0000 (07:37 -0500)]
optimized the number of instructions it takes to copy an array

4 years agorefactored call generation to use less instructions
Brendan Hansen [Sun, 20 Jun 2021 03:58:52 +0000 (22:58 -0500)]
refactored call generation to use less instructions

4 years agovarious additions
Brendan Hansen [Sat, 19 Jun 2021 22:34:36 +0000 (17:34 -0500)]
various additions

4 years agocomments and tests
Brendan Hansen [Sat, 19 Jun 2021 02:07:55 +0000 (21:07 -0500)]
comments and tests

4 years agotesting json module
Brendan Hansen [Sat, 19 Jun 2021 01:06:56 +0000 (20:06 -0500)]
testing json module

4 years agomore static if bugfixes
Brendan Hansen [Sat, 19 Jun 2021 01:01:08 +0000 (20:01 -0500)]
more static if bugfixes

4 years agoadded basic json encoding
Brendan Hansen [Sat, 19 Jun 2021 00:55:43 +0000 (19:55 -0500)]
added basic json encoding

4 years agocode cleanup and bugfixes
Brendan Hansen [Sat, 19 Jun 2021 00:55:35 +0000 (19:55 -0500)]
code cleanup and bugfixes

4 years agoadded precedence option to overloads
Brendan Hansen [Fri, 18 Jun 2021 17:43:46 +0000 (12:43 -0500)]
added precedence option to overloads

4 years agoadded escaped string parsing to json module
Brendan Hansen [Thu, 17 Jun 2021 19:45:44 +0000 (14:45 -0500)]
added escaped string parsing to json module

4 years agorenamed AstArrayAccess to AstSubscript
Brendan Hansen [Thu, 17 Jun 2021 19:27:28 +0000 (14:27 -0500)]
renamed AstArrayAccess to AstSubscript

4 years agoadded warning for using 'proc' keyword; got rid of proc from core libraries
Brendan Hansen [Thu, 17 Jun 2021 19:15:10 +0000 (14:15 -0500)]
added warning for using 'proc' keyword; got rid of proc from core libraries

4 years agonearly finished with json parsing; added float parsing and float test case
Brendan Hansen [Thu, 17 Jun 2021 16:25:09 +0000 (11:25 -0500)]
nearly finished with json parsing; added float parsing and float test case

4 years agofinished initial JSON tokenizer
Brendan Hansen [Wed, 16 Jun 2021 19:28:19 +0000 (14:28 -0500)]
finished initial JSON tokenizer

4 years agofield access bugfix and added overloading operator '[]'
Brendan Hansen [Wed, 16 Jun 2021 15:56:42 +0000 (10:56 -0500)]
field access bugfix and added overloading operator '[]'

4 years agoworking on json module; bugfix with struct constructing
Brendan Hansen [Tue, 15 Jun 2021 18:14:03 +0000 (13:14 -0500)]
working on json module; bugfix with struct constructing

4 years agosmall optimizations and working on json library
Brendan Hansen [Tue, 15 Jun 2021 04:37:53 +0000 (23:37 -0500)]
small optimizations and working on json library

4 years agogot rid of an unnecessary error
Brendan Hansen [Mon, 14 Jun 2021 20:29:51 +0000 (15:29 -0500)]
got rid of an unnecessary error

4 years agostarted working on a json library
Brendan Hansen [Mon, 14 Jun 2021 19:54:22 +0000 (14:54 -0500)]
started working on a json library

4 years agosmall code cleanup
Brendan Hansen [Mon, 14 Jun 2021 19:54:00 +0000 (14:54 -0500)]
small code cleanup

4 years agoadded String_Buffer; refactored some textbox code
Brendan Hansen [Sun, 13 Jun 2021 21:34:51 +0000 (16:34 -0500)]
added String_Buffer; refactored some textbox code

4 years agosmall parser bugfix; working on textboxes in ui library
Brendan Hansen [Sun, 13 Jun 2021 19:59:12 +0000 (14:59 -0500)]
small parser bugfix; working on textboxes in ui library

4 years agoenums flags with '&' result in bool; working on keyboard events
Brendan Hansen [Sat, 12 Jun 2021 20:00:01 +0000 (15:00 -0500)]
enums flags with '&' result in bool; working on keyboard events

4 years agoadded radio buttons to ui library
Brendan Hansen [Sat, 12 Jun 2021 13:27:57 +0000 (08:27 -0500)]
added radio buttons to ui library

4 years agoadded circle rendering
Brendan Hansen [Sat, 12 Jun 2021 13:27:47 +0000 (08:27 -0500)]
added circle rendering

4 years agosmall lexer speedup again
Brendan Hansen [Fri, 11 Jun 2021 19:02:55 +0000 (14:02 -0500)]
small lexer speedup again

4 years agoadded vecmath library (VERY MINIMAL)
Brendan Hansen [Fri, 11 Jun 2021 18:52:04 +0000 (13:52 -0500)]
added vecmath library (VERY MINIMAL)

4 years agosmall lexer speedup and module updates
Brendan Hansen [Fri, 11 Jun 2021 18:51:19 +0000 (13:51 -0500)]
small lexer speedup and module updates

4 years agobugfixes with symbol resolution for polymorphic structs and add_overload
Brendan Hansen [Fri, 11 Jun 2021 14:37:15 +0000 (09:37 -0500)]
bugfixes with symbol resolution for polymorphic structs and add_overload

4 years agoadded sliders and other core module things
Brendan Hansen [Fri, 11 Jun 2021 04:44:44 +0000 (23:44 -0500)]
added sliders and other core module things

4 years agoadded checkboxes to ui package
Brendan Hansen [Thu, 10 Jun 2021 02:58:25 +0000 (21:58 -0500)]
added checkboxes to ui package

4 years agoadded test.bat
Brendan Hansen [Wed, 9 Jun 2021 19:34:51 +0000 (14:34 -0500)]
added test.bat

4 years agoswitched to new font system (bmfont)
Brendan Hansen [Wed, 9 Jun 2021 19:34:45 +0000 (14:34 -0500)]
switched to new font system (bmfont)

4 years agoadded alpha shader to immediate renderer
Brendan Hansen [Wed, 9 Jun 2021 19:33:59 +0000 (14:33 -0500)]
added alpha shader to immediate renderer

4 years agopushing out a lot of module changes
Brendan Hansen [Wed, 9 Jun 2021 00:53:18 +0000 (19:53 -0500)]
pushing out a lot of module changes

4 years agobugfixes related to unary field access and global types
Brendan Hansen [Tue, 8 Jun 2021 22:16:04 +0000 (17:16 -0500)]
bugfixes related to unary field access and global types

4 years agobugfix and updates to ui
Brendan Hansen [Mon, 7 Jun 2021 05:14:30 +0000 (00:14 -0500)]
bugfix and updates to ui

4 years agochanged assert to use #callsite
Brendan Hansen [Mon, 7 Jun 2021 05:14:12 +0000 (00:14 -0500)]
changed assert to use #callsite

4 years agobugfixes and added '#callsite' for default members
Brendan Hansen [Mon, 7 Jun 2021 01:30:07 +0000 (20:30 -0500)]
bugfixes and added '#callsite' for default members

4 years agoadded printing of notes; added initial ui module
Brendan Hansen [Sun, 6 Jun 2021 04:39:57 +0000 (23:39 -0500)]
added printing of notes; added initial ui module

4 years agobugfixes and changed how compound types are parsed
Brendan Hansen [Fri, 4 Jun 2021 04:11:35 +0000 (23:11 -0500)]
bugfixes and changed how compound types are parsed

4 years agosmall bugfix and made enabling debugging in heap.onyx compile time
Brendan Hansen [Fri, 4 Jun 2021 00:59:04 +0000 (19:59 -0500)]
small bugfix and made enabling debugging in heap.onyx compile time

4 years agosmall note and maybe a bugfix
Brendan Hansen [Thu, 3 Jun 2021 21:16:02 +0000 (16:16 -0500)]
small note and maybe a bugfix

4 years agobugfix with yielding for a polymorphic procedure generation
Brendan Hansen [Thu, 3 Jun 2021 19:26:28 +0000 (14:26 -0500)]
bugfix with yielding for a polymorphic procedure generation

4 years agoMAYBE BREAKING CHANGE; Polymorphic structure types are no longer known immediately
Brendan Hansen [Thu, 3 Jun 2021 19:02:03 +0000 (14:02 -0500)]
MAYBE BREAKING CHANGE; Polymorphic structure types are no longer known immediately

4 years agobugfix with a call node being checked multiple times
Brendan Hansen [Thu, 3 Jun 2021 03:16:45 +0000 (22:16 -0500)]
bugfix with a call node being checked multiple times

4 years agobetter handling for infinite loop prevention with overloads
Brendan Hansen [Wed, 2 Jun 2021 23:53:12 +0000 (18:53 -0500)]
better handling for infinite loop prevention with overloads

4 years agosmall bugfixes and documentation
Brendan Hansen [Wed, 2 Jun 2021 22:13:20 +0000 (17:13 -0500)]
small bugfixes and documentation

4 years agobugfixes with interactions of top level expressions
Brendan Hansen [Wed, 2 Jun 2021 20:14:07 +0000 (15:14 -0500)]
bugfixes with interactions of top level expressions

4 years agobugfixes with polymorphic function calls with unresolved symbols
Brendan Hansen [Wed, 2 Jun 2021 14:24:33 +0000 (09:24 -0500)]
bugfixes with polymorphic function calls with unresolved symbols

4 years agoMAYBE BREAKING CHANGE; everything can defer right now so order doesn't matter
Brendan Hansen [Wed, 2 Jun 2021 04:44:27 +0000 (23:44 -0500)]
MAYBE BREAKING CHANGE; everything can defer right now so order doesn't matter

4 years agoparser cleanup; fixed bug when defining procedures inside of static ifs inside of...
Brendan Hansen [Tue, 1 Jun 2021 20:25:04 +0000 (15:25 -0500)]
parser cleanup; fixed bug when defining procedures inside of static ifs inside of procedures

4 years agofixed overloaded procedures with named baked value arguments
Brendan Hansen [Tue, 1 Jun 2021 18:39:25 +0000 (13:39 -0500)]
fixed overloaded procedures with named baked value arguments

4 years agofixed overloaded procedures with baked value polymorphism
Brendan Hansen [Tue, 1 Jun 2021 17:34:11 +0000 (12:34 -0500)]
fixed overloaded procedures with baked value polymorphism

4 years agobugfixes with static ifs when types cannot be resolved
Brendan Hansen [Tue, 1 Jun 2021 15:55:35 +0000 (10:55 -0500)]
bugfixes with static ifs when types cannot be resolved

4 years agoadded static if statements in procedures; a little limited at the moment
Brendan Hansen [Tue, 1 Jun 2021 14:10:28 +0000 (09:10 -0500)]
added static if statements in procedures; a little limited at the moment

4 years agosmall code cleanup
Brendan Hansen [Mon, 31 May 2021 03:31:05 +0000 (22:31 -0500)]
small code cleanup

4 years agoremoved old `progs` folder
Brendan Hansen [Sun, 30 May 2021 19:13:41 +0000 (14:13 -0500)]
removed old `progs` folder

4 years agofixed clock.sleep for wasmtime
Brendan Hansen [Sun, 30 May 2021 04:42:24 +0000 (23:42 -0500)]
fixed clock.sleep for wasmtime

4 years agoadded core.clock package for wasi runtime
Brendan Hansen [Sat, 29 May 2021 21:39:39 +0000 (16:39 -0500)]
added core.clock package for wasi runtime

4 years agoadded set package
Brendan Hansen [Sat, 29 May 2021 20:36:35 +0000 (15:36 -0500)]
added set package

4 years agoadded to array package
Brendan Hansen [Sat, 29 May 2021 20:36:09 +0000 (15:36 -0500)]
added to array package

4 years agogetting rid of string.read_line; use string.read_until instead
Brendan Hansen [Sat, 29 May 2021 17:11:48 +0000 (12:11 -0500)]
getting rid of string.read_line; use string.read_until instead

4 years agogetting rid of uses of string.builder, string.reader
Brendan Hansen [Sat, 29 May 2021 03:20:55 +0000 (22:20 -0500)]
getting rid of uses of string.builder, string.reader

4 years agoupdated docs and added notes to the lexer
Brendan Hansen [Thu, 27 May 2021 03:48:30 +0000 (22:48 -0500)]
updated docs and added notes to the lexer

4 years agoadded relative lookups on file_contents directives
Brendan Hansen [Sun, 23 May 2021 16:06:37 +0000 (11:06 -0500)]
added relative lookups on file_contents directives

4 years agoadded relative file loads
Brendan Hansen [Sat, 22 May 2021 23:04:43 +0000 (18:04 -0500)]
added relative file loads

4 years agousing non-relative paths in file lookups
Brendan Hansen [Thu, 13 May 2021 22:30:32 +0000 (17:30 -0500)]
using non-relative paths in file lookups

4 years agorelative file comments
Brendan Hansen [Thu, 13 May 2021 20:38:26 +0000 (15:38 -0500)]
relative file comments

4 years agono more map.cmp_function. default is now always optional
Brendan Hansen [Thu, 13 May 2021 17:24:59 +0000 (12:24 -0500)]
no more map.cmp_function. default is now always optional

4 years agosmall bugfix with deferred statements with fallthrough
Brendan Hansen [Thu, 13 May 2021 16:24:27 +0000 (11:24 -0500)]
small bugfix with deferred statements with fallthrough

4 years agosmall updates and thoughts
Brendan Hansen [Tue, 11 May 2021 19:01:12 +0000 (14:01 -0500)]
small updates and thoughts

4 years agoMerge remote-tracking branch 'origin/master'
Brendan Hansen [Sun, 9 May 2021 19:05:58 +0000 (14:05 -0500)]
Merge remote-tracking branch 'origin/master'

4 years agobugfixes with unused locals
Brendan Hansen [Sun, 9 May 2021 17:05:24 +0000 (12:05 -0500)]
bugfixes with unused locals

4 years agotiny bug fixes
Brendan Hansen [Fri, 7 May 2021 15:40:33 +0000 (10:40 -0500)]
tiny bug fixes

4 years agoadded initial immediate mode rendering module
Brendan Hansen [Wed, 5 May 2021 17:56:50 +0000 (12:56 -0500)]
added initial immediate mode rendering module

4 years agofixed anonymous struct var arg bug
Brendan Hansen [Mon, 3 May 2021 04:35:14 +0000 (23:35 -0500)]
fixed anonymous struct var arg bug

4 years agochanged how #export works
Brendan Hansen [Wed, 28 Apr 2021 18:45:43 +0000 (13:45 -0500)]
changed how #export works

4 years agopreparing for removing linear token dependence
Brendan Hansen [Tue, 27 Apr 2021 17:06:57 +0000 (12:06 -0500)]
preparing for removing linear token dependence

4 years agotiny changes
Brendan Hansen [Tue, 27 Apr 2021 01:49:17 +0000 (20:49 -0500)]
tiny changes

4 years agosmall cleanup
Brendan Hansen [Sun, 25 Apr 2021 03:59:56 +0000 (22:59 -0500)]
small cleanup

4 years agofixed a small bug because && does not short circuit
Brendan Hansen [Sat, 24 Apr 2021 16:39:19 +0000 (11:39 -0500)]
fixed a small bug because && does not short circuit

4 years agobug fixes with a better heap allocator
Brendan Hansen [Sat, 24 Apr 2021 03:48:06 +0000 (22:48 -0500)]
bug fixes with a better heap allocator

4 years agoremoving more unnecessary enum prefixes
Brendan Hansen [Thu, 22 Apr 2021 22:59:37 +0000 (17:59 -0500)]
removing more unnecessary enum prefixes

4 years agoremoved some unneeded enum member look ups
Brendan Hansen [Thu, 22 Apr 2021 20:03:35 +0000 (15:03 -0500)]
removed some unneeded enum member look ups

4 years agoadded unary field access for enum/struct members
Brendan Hansen [Thu, 22 Apr 2021 17:44:36 +0000 (12:44 -0500)]
added unary field access for enum/struct members

4 years agostarting to work on reusable modules for webgl and event systems
Brendan Hansen [Thu, 22 Apr 2021 03:38:37 +0000 (22:38 -0500)]
starting to work on reusable modules for webgl and event systems

4 years agogoing to try to stay on top of the CHANGELOG from now on
Brendan Hansen [Wed, 21 Apr 2021 23:00:08 +0000 (18:00 -0500)]
going to try to stay on top of the CHANGELOG from now on

4 years agocode cleanup; added iter.zip and iter.const
Brendan Hansen [Wed, 21 Apr 2021 19:05:02 +0000 (14:05 -0500)]
code cleanup; added iter.zip and iter.const

4 years agomoved container-like things to core/container
Brendan Hansen [Wed, 21 Apr 2021 13:35:50 +0000 (08:35 -0500)]
moved container-like things to core/container

4 years agoadded iter.skip and iter.take_while; small poly proc bugfix
Brendan Hansen [Wed, 21 Apr 2021 03:02:56 +0000 (22:02 -0500)]
added iter.skip and iter.take_while; small poly proc bugfix

4 years agofixed onyx.vim
Brendan Hansen [Wed, 21 Apr 2021 00:34:11 +0000 (19:34 -0500)]
fixed onyx.vim

4 years agochanged filter iterator to use the right name
Brendan Hansen [Tue, 20 Apr 2021 20:05:19 +0000 (15:05 -0500)]
changed filter iterator to use the right name

4 years agoadded iter.fold and iter.take
Brendan Hansen [Tue, 20 Apr 2021 19:24:50 +0000 (14:24 -0500)]
added iter.fold and iter.take

4 years agostarted working on lazy iterator library
Brendan Hansen [Tue, 20 Apr 2021 16:42:05 +0000 (11:42 -0500)]
started working on lazy iterator library

4 years agousing bh_align where I can
Brendan Hansen [Tue, 20 Apr 2021 13:57:11 +0000 (08:57 -0500)]
using bh_align where I can