onyx.git
21 months agofixed: no longer require `sudo` access
Brendan Hansen [Thu, 31 Aug 2023 22:03:52 +0000 (17:03 -0500)]
fixed: no longer require `sudo` access

21 months agofixed: printing symbol name instead of "TOKEN_TYPE_SYMBOL"
Brendan Hansen [Thu, 31 Aug 2023 19:22:13 +0000 (14:22 -0500)]
fixed: printing symbol name instead of "TOKEN_TYPE_SYMBOL"

21 months agofixed: miscellaneous bugfixes
Brendan Hansen [Thu, 31 Aug 2023 13:34:24 +0000 (08:34 -0500)]
fixed: miscellaneous bugfixes

22 months agofixed: arena.clear bug
Brendan Hansen [Tue, 22 Aug 2023 23:58:44 +0000 (18:58 -0500)]
fixed: arena.clear bug

22 months agoadded: string.to_cstr_on_stack
Brendan Hansen [Sat, 19 Aug 2023 01:31:31 +0000 (20:31 -0500)]
added: string.to_cstr_on_stack

22 months agoupdated CHANGELOG
Brendan Hansen [Sat, 19 Aug 2023 00:54:01 +0000 (19:54 -0500)]
updated CHANGELOG

22 months agoadded: tagged globals
Brendan Hansen [Sat, 19 Aug 2023 00:53:09 +0000 (19:53 -0500)]
added: tagged globals

22 months agofixed: miscellaneous things
Brendan Hansen [Fri, 18 Aug 2023 17:21:00 +0000 (12:21 -0500)]
fixed: miscellaneous things

23 months agoprepared CHANGELOG for next version
Brendan Hansen [Thu, 20 Jul 2023 17:43:52 +0000 (12:43 -0500)]
prepared CHANGELOG for next version

23 months agofixed: js compilation again
Brendan Hansen [Wed, 19 Jul 2023 02:37:28 +0000 (21:37 -0500)]
fixed: js compilation again

23 months agofixed: javascript compilation
Brendan Hansen [Wed, 19 Jul 2023 02:35:42 +0000 (21:35 -0500)]
fixed: javascript compilation

23 months agoupdated CHANGELOG
Brendan Hansen [Wed, 19 Jul 2023 02:18:53 +0000 (21:18 -0500)]
updated CHANGELOG

23 months agoMerge pull request #21 from onyx-lang/dev
Brendan Hansen [Wed, 19 Jul 2023 02:07:33 +0000 (21:07 -0500)]
Merge pull request #21 from onyx-lang/dev

Release 0.1.5

23 months agoupdated CHANGELOG
Brendan Hansen [Tue, 18 Jul 2023 18:40:18 +0000 (13:40 -0500)]
updated CHANGELOG

23 months agoadded: old test case
Brendan Hansen [Thu, 6 Jul 2023 04:23:03 +0000 (23:23 -0500)]
added: old test case

23 months agoadded: `-Dno_entrypoint` option to Onyx runtime
Brendan Hansen [Sat, 1 Jul 2023 04:38:10 +0000 (23:38 -0500)]
added: `-Dno_entrypoint` option to Onyx runtime

23 months agochanged: heap functions are exported for libraries to use
Brendan Hansen [Sat, 1 Jul 2023 03:58:33 +0000 (22:58 -0500)]
changed: heap functions are exported for libraries to use

2 years agoadded test case and updated CHANGELOG
Brendan Hansen [Fri, 30 Jun 2023 01:26:47 +0000 (20:26 -0500)]
added test case and updated CHANGELOG

2 years agoadded: TTY support to platform layer and `core.os`
Brendan Hansen [Wed, 28 Jun 2023 22:33:22 +0000 (17:33 -0500)]
added: TTY support to platform layer and `core.os`

2 years agoupdated CHANGELOG
Brendan Hansen [Wed, 28 Jun 2023 02:56:14 +0000 (21:56 -0500)]
updated CHANGELOG

2 years agoadded: test case for structure method tags
Brendan Hansen [Tue, 27 Jun 2023 16:49:14 +0000 (11:49 -0500)]
added: test case for structure method tags

2 years agoadded: tagging methods on structures
Brendan Hansen [Tue, 27 Jun 2023 16:40:30 +0000 (11:40 -0500)]
added: tagging methods on structures

2 years agoremoved: Wait_Notify_Available global
Brendan Hansen [Tue, 27 Jun 2023 16:40:19 +0000 (11:40 -0500)]
removed: Wait_Notify_Available global

2 years agofixed: windows compilation, i think
Brendan Hansen [Tue, 27 Jun 2023 14:47:00 +0000 (09:47 -0500)]
fixed: windows compilation, i think

2 years agofixed: windows compilation actually
Brendan Hansen [Tue, 27 Jun 2023 14:43:19 +0000 (09:43 -0500)]
fixed: windows compilation actually

2 years agofixed: windows compilation
Brendan Hansen [Tue, 27 Jun 2023 14:38:11 +0000 (09:38 -0500)]
fixed: windows compilation

2 years agoadded: futexes to platform layer
Brendan Hansen [Tue, 27 Jun 2023 14:31:35 +0000 (09:31 -0500)]
added: futexes to platform layer

2 years agoadded: custom sub-commands; `onyx pkg sync --skip-native`
Brendan Hansen [Mon, 26 Jun 2023 22:19:26 +0000 (17:19 -0500)]
added: custom sub-commands; `onyx pkg sync --skip-native`

2 years agoupdated CHANGELOG
Brendan Hansen [Mon, 26 Jun 2023 13:19:08 +0000 (08:19 -0500)]
updated CHANGELOG

2 years agoadded: explicit sizing of union tags with `#tag_type`
Brendan Hansen [Sun, 25 Jun 2023 20:36:08 +0000 (15:36 -0500)]
added: explicit sizing of union tags with `#tag_type`

2 years agobugfixes
Brendan Hansen [Fri, 23 Jun 2023 14:34:54 +0000 (09:34 -0500)]
bugfixes

2 years agoMerge branch 'master' into dev
Brendan Hansen [Fri, 23 Jun 2023 03:33:05 +0000 (22:33 -0500)]
Merge branch 'master' into dev

2 years agoRelease 0.1.4
Brendan Hansen [Fri, 23 Jun 2023 03:29:05 +0000 (22:29 -0500)]
Release 0.1.4

Release 0.1.4

2 years agodeprecated: `map.get_opt`
Brendan Hansen [Fri, 23 Jun 2023 03:18:32 +0000 (22:18 -0500)]
deprecated: `map.get_opt`

2 years agopreparing for release 0.1.4
Brendan Hansen [Fri, 23 Jun 2023 03:17:02 +0000 (22:17 -0500)]
preparing for release 0.1.4

2 years agoupdated CHANGELOG
Brendan Hansen [Fri, 23 Jun 2023 02:55:05 +0000 (21:55 -0500)]
updated CHANGELOG

2 years agoupdated CHANGELOG
Brendan Hansen [Fri, 23 Jun 2023 01:04:45 +0000 (20:04 -0500)]
updated CHANGELOG

2 years agoupdated: `onyx pkg` to new Onyx features
Brendan Hansen [Fri, 23 Jun 2023 01:04:36 +0000 (20:04 -0500)]
updated: `onyx pkg` to new Onyx features

2 years agochanged: `map.get` returns an Optional
Brendan Hansen [Thu, 22 Jun 2023 23:29:03 +0000 (18:29 -0500)]
changed: `map.get` returns an Optional

2 years agobugfix: tagged unions alignment not always respected
Brendan Hansen [Thu, 22 Jun 2023 23:28:03 +0000 (18:28 -0500)]
bugfix: tagged unions alignment not always respected

2 years agochanged: `Map` no longer stores a default value
Brendan Hansen [Thu, 22 Jun 2023 19:31:20 +0000 (14:31 -0500)]
changed: `Map` no longer stores a default value

2 years agoupdated: onyx pkg manager to use a new file structure
Brendan Hansen [Thu, 22 Jun 2023 16:13:26 +0000 (11:13 -0500)]
updated: onyx pkg manager to use a new file structure

2 years agoupdated: broken test cases
Brendan Hansen [Thu, 22 Jun 2023 16:12:18 +0000 (11:12 -0500)]
updated: broken test cases

2 years agochanged: minor things in ini parser
Brendan Hansen [Thu, 22 Jun 2023 14:32:04 +0000 (09:32 -0500)]
changed: minor things in ini parser

2 years agobugfix: "./" prefix was not working correctly
Brendan Hansen [Thu, 22 Jun 2023 14:17:08 +0000 (09:17 -0500)]
bugfix: "./" prefix was not working correctly

2 years agoMerge branch 'master' into dev
Brendan Hansen [Thu, 22 Jun 2023 13:10:58 +0000 (08:10 -0500)]
Merge branch 'master' into dev

2 years agomiscellaneous things
Brendan Hansen [Wed, 21 Jun 2023 19:17:16 +0000 (14:17 -0500)]
miscellaneous things

2 years agoRelease: beta 0.1.3
Brendan Hansen [Tue, 20 Jun 2023 00:46:59 +0000 (19:46 -0500)]
Release: beta 0.1.3

Release 0.1.3

2 years agoadded: `iter.find` and `slice.equal`
Brendan Hansen [Mon, 19 Jun 2023 14:39:22 +0000 (09:39 -0500)]
added: `iter.find` and `slice.equal`

2 years agoadded: docs and tiny performance improvements
Brendan Hansen [Mon, 19 Jun 2023 01:08:05 +0000 (20:08 -0500)]
added: docs and tiny performance improvements

2 years agoupdated CHANGELOG
Brendan Hansen [Sun, 18 Jun 2023 03:51:24 +0000 (22:51 -0500)]
updated CHANGELOG

2 years agochanged: major speedup in code generation
Brendan Hansen [Sun, 18 Jun 2023 03:51:00 +0000 (22:51 -0500)]
changed: major speedup in code generation

2 years agoadded: os `path` functions
Brendan Hansen [Sat, 17 Jun 2023 22:08:15 +0000 (17:08 -0500)]
added: os `path` functions

2 years agoupdated: CHANGELOG
Brendan Hansen [Fri, 16 Jun 2023 21:39:40 +0000 (16:39 -0500)]
updated: CHANGELOG

2 years agoadded: Allocator.move to move a value into an allocator
Brendan Hansen [Fri, 16 Jun 2023 21:11:47 +0000 (16:11 -0500)]
added: Allocator.move to move a value into an allocator

2 years agochanged: miscellaneous things
Brendan Hansen [Fri, 16 Jun 2023 21:11:28 +0000 (16:11 -0500)]
changed: miscellaneous things

2 years agochanged: union tags start indexing at 0, not 1
Brendan Hansen [Fri, 16 Jun 2023 21:11:10 +0000 (16:11 -0500)]
changed: union tags start indexing at 0, not 1

There were too many places were the fact the ZII was not followed for union types was too annoying.

2 years agoadded: current_line to Stack_Frame
Brendan Hansen [Wed, 14 Jun 2023 16:48:30 +0000 (11:48 -0500)]
added: current_line to Stack_Frame

2 years agoMerge branch 'master' into dev
Brendan Hansen [Wed, 14 Jun 2023 04:02:21 +0000 (23:02 -0500)]
Merge branch 'master' into dev

2 years agoupdated CHANGELOG
Brendan Hansen [Wed, 14 Jun 2023 03:49:27 +0000 (22:49 -0500)]
updated CHANGELOG

2 years agoadded: parsing a `? T` with try to parse `T`
Brendan Hansen [Wed, 14 Jun 2023 03:06:44 +0000 (22:06 -0500)]
added: parsing a `? T` with try to parse `T`

2 years agochanged: Set no longer has a default element; `set.get` returns an Optional
Brendan Hansen [Wed, 14 Jun 2023 03:06:25 +0000 (22:06 -0500)]
changed: Set no longer has a default element; `set.get` returns an Optional

2 years agomiscellaneous bugfixes
Brendan Hansen [Tue, 13 Jun 2023 21:47:53 +0000 (16:47 -0500)]
miscellaneous bugfixes

2 years agoremoved: `Result.return_ok` and `Result.return_err`
Brendan Hansen [Mon, 12 Jun 2023 11:51:57 +0000 (06:51 -0500)]
removed: `Result.return_ok` and `Result.return_err`

2 years agoadded: support for optionals in json encoder/decoder
Brendan Hansen [Mon, 12 Jun 2023 03:00:25 +0000 (22:00 -0500)]
added: support for optionals in json encoder/decoder

2 years agochanged: moved `conv.encode_hex` into new package
Brendan Hansen [Mon, 12 Jun 2023 02:40:09 +0000 (21:40 -0500)]
changed: moved `conv.encode_hex` into new package

2 years agobugfix: weird polymorphic procedure edge case
Brendan Hansen [Mon, 12 Jun 2023 02:09:54 +0000 (21:09 -0500)]
bugfix: weird polymorphic procedure edge case

2 years agoadded: `conv.encode_hex` `conv.decode_hex`
Brendan Hansen [Mon, 12 Jun 2023 01:59:59 +0000 (20:59 -0500)]
added: `conv.encode_hex` `conv.decode_hex`

2 years agoadded: stack trace logging to logging allocator
Brendan Hansen [Sat, 10 Jun 2023 02:19:57 +0000 (21:19 -0500)]
added: stack trace logging to logging allocator

2 years agoadded: user-level stack trace available with `--stack-trace`
Brendan Hansen [Fri, 9 Jun 2023 21:03:59 +0000 (16:03 -0500)]
added: user-level stack trace available with `--stack-trace`

2 years agoadded: `-Dkey=value` and `--no-type-info`
Brendan Hansen [Wed, 7 Jun 2023 20:01:23 +0000 (15:01 -0500)]
added: `-Dkey=value` and `--no-type-info`

2 years agoadded `iter.flatten`
Brendan Hansen [Wed, 7 Jun 2023 15:38:23 +0000 (10:38 -0500)]
added `iter.flatten`

2 years agoBREAKING CHANGE to code blocks
Brendan Hansen [Tue, 6 Jun 2023 14:07:19 +0000 (09:07 -0500)]
BREAKING CHANGE to code blocks

Quoted block redo

2 years agoupdated CHANGELOG
Brendan Hansen [Tue, 6 Jun 2023 13:54:31 +0000 (08:54 -0500)]
updated CHANGELOG

2 years agoupdated CHANGELOG
Brendan Hansen [Tue, 6 Jun 2023 13:44:07 +0000 (08:44 -0500)]
updated CHANGELOG

2 years agoMerge branch 'dev' into feature/code-block-rewrite
Brendan Hansen [Tue, 6 Jun 2023 03:18:58 +0000 (22:18 -0500)]
Merge branch 'dev' into feature/code-block-rewrite

2 years agoadded: type info methods
Brendan Hansen [Tue, 6 Jun 2023 03:18:28 +0000 (22:18 -0500)]
added: type info methods

2 years agobugfix: vscode quote handling; added: type info methods
Brendan Hansen [Tue, 6 Jun 2023 02:59:18 +0000 (21:59 -0500)]
bugfix: vscode quote handling; added: type info methods

2 years agoadded: `net.socket_poll`
Brendan Hansen [Mon, 5 Jun 2023 15:58:55 +0000 (10:58 -0500)]
added: `net.socket_poll`

2 years agochanged: removed `#quote` in favor of parameter syntax `[] {}`
Brendan Hansen [Sat, 3 Jun 2023 05:22:39 +0000 (00:22 -0500)]
changed: removed `#quote` in favor of parameter syntax `[] {}`

2 years agofixed: gcc warning
Brendan Hansen [Wed, 31 May 2023 15:43:47 +0000 (10:43 -0500)]
fixed: gcc warning

2 years agoMerge pull request #14 from onyx-lang/dev
Brendan Hansen [Wed, 31 May 2023 00:32:08 +0000 (19:32 -0500)]
Merge pull request #14 from onyx-lang/dev

Beta Release 0.1.2

2 years agopreparing for release
Brendan Hansen [Wed, 31 May 2023 00:19:24 +0000 (19:19 -0500)]
preparing for release

2 years agoadded: field accessing on unions results in optional
Brendan Hansen [Tue, 30 May 2023 23:24:15 +0000 (18:24 -0500)]
added: field accessing on unions results in optional

2 years agoadded: mandatory check to cover all union variants in switch
Brendan Hansen [Mon, 29 May 2023 16:35:02 +0000 (11:35 -0500)]
added: mandatory check to cover all union variants in switch

2 years agobugfix: sublime syntax missing `union`
Brendan Hansen [Thu, 25 May 2023 18:05:56 +0000 (13:05 -0500)]
bugfix: sublime syntax missing `union`

2 years agoadded: doc info for tagged unions
Brendan Hansen [Wed, 24 May 2023 13:43:02 +0000 (08:43 -0500)]
added: doc info for tagged unions

2 years agoadded: debug info for tagged unions
Brendan Hansen [Wed, 24 May 2023 03:06:03 +0000 (22:06 -0500)]
added: debug info for tagged unions

2 years agoadded: switching over pointer to union
Brendan Hansen [Wed, 24 May 2023 00:03:46 +0000 (19:03 -0500)]
added: switching over pointer to union

2 years agoMerge pull request #15 from onyx-lang/feature/tagged-unions
Brendan Hansen [Tue, 23 May 2023 16:13:48 +0000 (11:13 -0500)]
Merge pull request #15 from onyx-lang/feature/tagged-unions

Feature: Tagged Unions

2 years agoadded: `u.tag` to get the tag of a union
Brendan Hansen [Tue, 23 May 2023 16:02:08 +0000 (11:02 -0500)]
added: `u.tag` to get the tag of a union

2 years agoMerge branch 'dev' into feature/tagged-unions feature/tagged-unions
Brendan Hansen [Tue, 23 May 2023 15:36:09 +0000 (10:36 -0500)]
Merge branch 'dev' into feature/tagged-unions

2 years agoupdated onyx vscode extension
Brendan Hansen [Tue, 23 May 2023 15:35:45 +0000 (10:35 -0500)]
updated onyx vscode extension

2 years agoadded: tagged union test case
Brendan Hansen [Tue, 23 May 2023 15:34:39 +0000 (10:34 -0500)]
added: tagged union test case

2 years agoadded: syntax for `union`s
Brendan Hansen [Tue, 23 May 2023 13:48:24 +0000 (08:48 -0500)]
added: syntax for `union`s

2 years agobugfix: parsing types and Result->unwrap
Brendan Hansen [Tue, 23 May 2023 03:30:52 +0000 (22:30 -0500)]
bugfix: parsing types and Result->unwrap

2 years agobugfixes and `Result` is now a `union`
Brendan Hansen [Tue, 23 May 2023 03:22:09 +0000 (22:22 -0500)]
bugfixes and `Result` is now a `union`

2 years agochanged: `Optional` is now a `union`
Brendan Hansen [Tue, 23 May 2023 02:39:36 +0000 (21:39 -0500)]
changed: `Optional` is now a `union`

2 years agocleanup: gcc warnings
Brendan Hansen [Tue, 23 May 2023 01:12:50 +0000 (20:12 -0500)]
cleanup: gcc warnings

2 years agoadded: polymorphic unions
Brendan Hansen [Tue, 23 May 2023 00:22:30 +0000 (19:22 -0500)]
added: polymorphic unions