onyx.git
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

3 years agobugfixes with macro expansions
Brendan Hansen [Fri, 13 Aug 2021 00:24:57 +0000 (19:24 -0500)]
bugfixes with macro expansions

3 years agoadded bucket_array test
Brendan Hansen [Thu, 12 Aug 2021 19:42:57 +0000 (14:42 -0500)]
added bucket_array test

3 years agomacros working! needs a lot of cleanup however
Brendan Hansen [Thu, 12 Aug 2021 19:30:40 +0000 (14:30 -0500)]
macros working! needs a lot of cleanup however

3 years agomore macro support
Brendan Hansen [Thu, 12 Aug 2021 17:28:09 +0000 (12:28 -0500)]
more macro support

3 years agostarting to work on macros; not functional yet
Brendan Hansen [Thu, 12 Aug 2021 12:41:49 +0000 (07:41 -0500)]
starting to work on macros; not functional yet

3 years agoslightly cleaner way of doing expression level checking
Brendan Hansen [Wed, 11 Aug 2021 04:12:54 +0000 (23:12 -0500)]
slightly cleaner way of doing expression level checking

3 years agorandom various improvements around the core libraries
Brendan Hansen [Tue, 10 Aug 2021 19:12:34 +0000 (14:12 -0500)]
random various improvements around the core libraries

3 years agorandom cleanup; fixed ui layering bug
Brendan Hansen [Mon, 9 Aug 2021 10:39:36 +0000 (05:39 -0500)]
random cleanup; fixed ui layering bug

3 years agocleanup
Brendan Hansen [Sat, 7 Aug 2021 13:46:07 +0000 (08:46 -0500)]
cleanup

3 years agopolymorphic overloads can signal yield for header
Brendan Hansen [Fri, 6 Aug 2021 20:46:10 +0000 (15:46 -0500)]
polymorphic overloads can signal yield for header

3 years agoforgot to revert a small change
Brendan Hansen [Fri, 6 Aug 2021 19:59:21 +0000 (14:59 -0500)]
forgot to revert a small change

3 years agobugfixing and added enumerate to iter
Brendan Hansen [Fri, 6 Aug 2021 19:55:45 +0000 (14:55 -0500)]
bugfixing and added enumerate to iter

3 years agostruct member defaults are now available at runtime
Brendan Hansen [Fri, 6 Aug 2021 14:33:23 +0000 (09:33 -0500)]
struct member defaults are now available at runtime

3 years agocode and '#insert' blocks can be expressions
Brendan Hansen [Thu, 5 Aug 2021 15:54:10 +0000 (10:54 -0500)]
code and '#insert' blocks can be expressions

3 years agocleaned up more examples
Brendan Hansen [Thu, 5 Aug 2021 12:18:43 +0000 (07:18 -0500)]
cleaned up more examples

3 years agoupdated examples; type creation bugfix
Brendan Hansen [Thu, 5 Aug 2021 03:24:37 +0000 (22:24 -0500)]
updated examples; type creation bugfix

3 years agoadded paste-able code blocks with '#insert' and '#{}'
Brendan Hansen [Tue, 3 Aug 2021 16:11:04 +0000 (11:11 -0500)]
added paste-able code blocks with '#insert' and '#{}'

3 years agoanother type_info bugfix
Brendan Hansen [Tue, 20 Jul 2021 03:38:27 +0000 (22:38 -0500)]
another type_info bugfix

3 years agotype_info fix (hopefully)
Brendan Hansen [Tue, 20 Jul 2021 03:18:32 +0000 (22:18 -0500)]
type_info fix (hopefully)

3 years agothis shouldn't work...
Brendan Hansen [Mon, 19 Jul 2021 23:48:47 +0000 (18:48 -0500)]
this shouldn't work...

3 years agoone more dumb fix for type_table
Brendan Hansen [Mon, 19 Jul 2021 23:04:50 +0000 (18:04 -0500)]
one more dumb fix for type_table

3 years agobugfix for type_table
Brendan Hansen [Mon, 19 Jul 2021 20:20:51 +0000 (15:20 -0500)]
bugfix for type_table

3 years agoadded ability to disable #file_contents
Brendan Hansen [Sun, 18 Jul 2021 19:46:19 +0000 (14:46 -0500)]
added ability to disable #file_contents