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

2 years agoMerge branch 'dev' into feature/tagged-unions
Brendan Hansen [Mon, 22 May 2023 20:54:46 +0000 (15:54 -0500)]
Merge branch 'dev' into feature/tagged-unions

2 years agobugfix: more floating point printing bugs
Brendan Hansen [Mon, 22 May 2023 20:54:16 +0000 (15:54 -0500)]
bugfix: more floating point printing bugs

2 years agoswitch branches
Brendan Hansen [Mon, 22 May 2023 20:53:30 +0000 (15:53 -0500)]
switch branches

2 years agoadded: type info for unions and formatting them
Brendan Hansen [Mon, 22 May 2023 20:26:51 +0000 (15:26 -0500)]
added: type info for unions and formatting them

2 years agobugfix: misc with unions
Brendan Hansen [Mon, 22 May 2023 19:45:28 +0000 (14:45 -0500)]
bugfix: misc with unions

2 years agoadded: `switch` over tagged unions
Brendan Hansen [Mon, 22 May 2023 16:42:25 +0000 (11:42 -0500)]
added: `switch` over tagged unions

2 years agobugfix: numerous bugs with new type kind
Brendan Hansen [Mon, 22 May 2023 14:54:29 +0000 (09:54 -0500)]
bugfix: numerous bugs with new type kind

2 years agoadded: basics of tagged unions
Brendan Hansen [Mon, 22 May 2023 03:50:47 +0000 (22:50 -0500)]
added: basics of tagged unions

2 years agoMerge branch 'dev' into feature/tagged-unions
Brendan Hansen [Sat, 20 May 2023 05:16:54 +0000 (00:16 -0500)]
Merge branch 'dev' into feature/tagged-unions

2 years agofixed: broken test case
Brendan Hansen [Sat, 20 May 2023 05:15:04 +0000 (00:15 -0500)]
fixed: broken test case

2 years agoMerge branch 'dev' into feature/tagged-unions
Brendan Hansen [Fri, 19 May 2023 20:31:50 +0000 (15:31 -0500)]
Merge branch 'dev' into feature/tagged-unions

2 years agofixed: `conv.f64_to_str` again
Brendan Hansen [Fri, 19 May 2023 20:31:09 +0000 (15:31 -0500)]
fixed: `conv.f64_to_str` again

2 years agoMerge branch 'dev' into feature/tagged-unions
Brendan Hansen [Fri, 19 May 2023 20:30:21 +0000 (15:30 -0500)]
Merge branch 'dev' into feature/tagged-unions

2 years agofixed: `conv.f64_to_str`
Brendan Hansen [Fri, 19 May 2023 20:28:27 +0000 (15:28 -0500)]
fixed: `conv.f64_to_str`

2 years agosketching new features
Brendan Hansen [Fri, 19 May 2023 20:27:12 +0000 (15:27 -0500)]
sketching new features

2 years agochanged: `os.with_file` implementation
Brendan Hansen [Fri, 19 May 2023 19:19:04 +0000 (14:19 -0500)]
changed: `os.with_file` implementation

2 years agoadded: miscellaenous procedures
Brendan Hansen [Fri, 19 May 2023 15:46:44 +0000 (10:46 -0500)]
added: miscellaenous procedures

2 years agobugfixes and additions
Brendan Hansen [Wed, 17 May 2023 22:47:48 +0000 (17:47 -0500)]
bugfixes and additions

See changes in CHANGELOG

2 years agoadded: `\uXXXX` unicode code points in strings
Brendan Hansen [Tue, 16 May 2023 21:29:39 +0000 (16:29 -0500)]
added: `\uXXXX` unicode code points in strings

2 years agoMerge pull request #13 from onyx-lang/dev
Brendan Hansen [Mon, 15 May 2023 18:30:06 +0000 (13:30 -0500)]
Merge pull request #13 from onyx-lang/dev

Release 0.1.1a

2 years agoadded: missing javascript import to onyx-loader.js
Brendan Hansen [Mon, 15 May 2023 18:22:37 +0000 (13:22 -0500)]
added: missing javascript import to onyx-loader.js

2 years agorelease: 0.1.1a
Brendan Hansen [Mon, 15 May 2023 18:18:34 +0000 (13:18 -0500)]
release: 0.1.1a

2 years agoadded: support time on JavaScript
Brendan Hansen [Mon, 15 May 2023 18:16:47 +0000 (13:16 -0500)]
added: support time on JavaScript

2 years agobugfix
Brendan Hansen [Mon, 15 May 2023 18:12:49 +0000 (13:12 -0500)]
bugfix

2 years agobugfix: JavaScript runtime would not compile
Brendan Hansen [Mon, 15 May 2023 18:11:33 +0000 (13:11 -0500)]
bugfix: JavaScript runtime would not compile

2 years agoMerge pull request #12 from onyx-lang/dev
Brendan Hansen [Mon, 15 May 2023 16:10:15 +0000 (11:10 -0500)]
Merge pull request #12 from onyx-lang/dev

Release 0.1.1

2 years agorelease: 0.1.1
Brendan Hansen [Mon, 15 May 2023 16:01:51 +0000 (11:01 -0500)]
release: 0.1.1

2 years agobugfix: windows build for real this time
Brendan Hansen [Mon, 15 May 2023 15:54:20 +0000 (10:54 -0500)]
bugfix: windows build for real this time

2 years agobugfix: windows build
Brendan Hansen [Mon, 15 May 2023 15:49:33 +0000 (10:49 -0500)]
bugfix: windows build

2 years agoupdated: vscode extension to version 0.1.6
Brendan Hansen [Mon, 15 May 2023 03:22:20 +0000 (22:22 -0500)]
updated: vscode extension to version 0.1.6

2 years agoadded: `#load_all_recursive`
Brendan Hansen [Mon, 15 May 2023 02:35:34 +0000 (21:35 -0500)]
added: `#load_all_recursive`

2 years agochanged: using cryptographic random number generation
Brendan Hansen [Sun, 14 May 2023 21:50:54 +0000 (16:50 -0500)]
changed: using cryptographic random number generation

2 years agochanged: added optional parameter to `onyx pkg new`
Brendan Hansen [Sun, 14 May 2023 05:01:58 +0000 (00:01 -0500)]
changed: added optional parameter to `onyx pkg new`

2 years agobugfix: misordered if-not-defined
Brendan Hansen [Sat, 13 May 2023 20:10:07 +0000 (15:10 -0500)]
bugfix: misordered if-not-defined

2 years agoupdated CHANGELOG
Brendan Hansen [Sat, 13 May 2023 17:38:36 +0000 (12:38 -0500)]
updated CHANGELOG

2 years agoadded: `onyx pkg new`
Brendan Hansen [Sat, 13 May 2023 17:37:48 +0000 (12:37 -0500)]
added: `onyx pkg new`

2 years agoadded: `os.path_join` and `os.path_basename`
Brendan Hansen [Sat, 13 May 2023 17:37:35 +0000 (12:37 -0500)]
added: `os.path_join` and `os.path_basename`

2 years agoadded: `json.Value.as_array_iter` and `json.Value.as_map_iter`
Brendan Hansen [Sat, 13 May 2023 17:37:23 +0000 (12:37 -0500)]
added: `json.Value.as_array_iter` and `json.Value.as_map_iter`

2 years agoadded: `iter.empty`
Brendan Hansen [Sat, 13 May 2023 17:37:06 +0000 (12:37 -0500)]
added: `iter.empty`

2 years agochanged: better formatting in `onyx pkg`
Brendan Hansen [Sat, 13 May 2023 02:00:30 +0000 (21:00 -0500)]
changed: better formatting in `onyx pkg`

2 years agoadded: WASI support for threads at the platform layer
Brendan Hansen [Fri, 12 May 2023 16:39:56 +0000 (11:39 -0500)]
added: WASI support for threads at the platform layer

2 years agofixed: WASI `__dir_open` permission issue
Brendan Hansen [Fri, 12 May 2023 01:16:18 +0000 (20:16 -0500)]
fixed: WASI `__dir_open` permission issue

2 years agocleanup: removed dependency on libc's strftime
Brendan Hansen [Thu, 11 May 2023 16:57:05 +0000 (11:57 -0500)]
cleanup: removed dependency on libc's strftime

Removed needing to link against:

strftime
mktime
localtime
gmtime

2 years agoadded: u8.to_upper and u8.to_lower
Brendan Hansen [Thu, 11 May 2023 16:46:51 +0000 (11:46 -0500)]
added: u8.to_upper and u8.to_lower

2 years agoupdated CHANGELOG
Brendan Hansen [Wed, 10 May 2023 17:56:01 +0000 (12:56 -0500)]
updated CHANGELOG

2 years agofixed: WASI compilation; environment variables
Brendan Hansen [Wed, 10 May 2023 17:55:03 +0000 (12:55 -0500)]
fixed: WASI compilation; environment variables

2 years agoadded: `#distinct` types over any type
Brendan Hansen [Mon, 8 May 2023 15:41:13 +0000 (10:41 -0500)]
added: `#distinct` types over any type

2 years agochanged: undefined function imports
Brendan Hansen [Fri, 5 May 2023 03:12:36 +0000 (22:12 -0500)]
changed: undefined function imports

2 years agoupdated: CHANGELOG
Brendan Hansen [Thu, 4 May 2023 18:09:05 +0000 (13:09 -0500)]
updated: CHANGELOG

2 years agoadded: tags on foreign block procedures
Brendan Hansen [Thu, 4 May 2023 18:08:02 +0000 (13:08 -0500)]
added: tags on foreign block procedures

2 years agoadded: preparing for adding tags to foreign block procedures
Brendan Hansen [Thu, 4 May 2023 17:26:46 +0000 (12:26 -0500)]
added: preparing for adding tags to foreign block procedures

2 years agoMerge remote-tracking branch 'origin/master' into dev
Brendan Hansen [Tue, 2 May 2023 13:23:27 +0000 (08:23 -0500)]
Merge remote-tracking branch 'origin/master' into dev

2 years agofixed: `onyx help` missing newline
Brendan Hansen [Tue, 2 May 2023 03:51:20 +0000 (22:51 -0500)]
fixed: `onyx help` missing newline

2 years agofixed: missing `use core` in optional.onyx
Brendan Hansen [Tue, 2 May 2023 03:22:21 +0000 (22:22 -0500)]
fixed: missing `use core` in optional.onyx

2 years agoMerge pull request #8 from onyx-lang/dev
Brendan Hansen [Mon, 1 May 2023 23:29:45 +0000 (18:29 -0500)]
Merge pull request #8 from onyx-lang/dev

Release 0.1.0-beta

2 years agocleanup: warnings of unused return values
Brendan Hansen [Mon, 1 May 2023 23:22:46 +0000 (18:22 -0500)]
cleanup: warnings of unused return values

2 years agoupdated Readme for beta-0.1.0
Brendan Hansen [Mon, 1 May 2023 23:17:25 +0000 (18:17 -0500)]
updated Readme for beta-0.1.0

2 years agoadded: environment variable documentation
Brendan Hansen [Mon, 1 May 2023 03:35:44 +0000 (22:35 -0500)]
added: environment variable documentation

2 years agoadded: `os.env`
Brendan Hansen [Mon, 1 May 2023 03:35:25 +0000 (22:35 -0500)]
added: `os.env`

2 years agochanged: alloc.fixed, added methods to Allocator
Brendan Hansen [Sat, 29 Apr 2023 21:21:28 +0000 (16:21 -0500)]
changed: alloc.fixed, added methods to Allocator

2 years agofixed: miscellaneous segfaults
Brendan Hansen [Thu, 27 Apr 2023 16:00:25 +0000 (11:00 -0500)]
fixed: miscellaneous segfaults

2 years agoadded: `alloc.copy_closure`
Brendan Hansen [Wed, 26 Apr 2023 18:23:42 +0000 (13:23 -0500)]
added: `alloc.copy_closure`

2 years agoadded: `onyx watch` to continuously rebuild
Brendan Hansen [Wed, 26 Apr 2023 03:29:01 +0000 (22:29 -0500)]
added: `onyx watch` to continuously rebuild

2 years agofixed: removed all random static variables
Brendan Hansen [Wed, 26 Apr 2023 03:01:01 +0000 (22:01 -0500)]
fixed: removed all random static variables

2 years agobugfix: detecting potential closures in nested polymorph lookups
Brendan Hansen [Mon, 24 Apr 2023 01:56:23 +0000 (20:56 -0500)]
bugfix: detecting potential closures in nested polymorph lookups

2 years agoadded: `Optional.try`
Brendan Hansen [Mon, 24 Apr 2023 01:43:48 +0000 (20:43 -0500)]
added: `Optional.try`

2 years agobugfix: old js code; `Optional.from_ptr`
Brendan Hansen [Mon, 24 Apr 2023 01:35:54 +0000 (20:35 -0500)]
bugfix: old js code; `Optional.from_ptr`

2 years agofixed: more special global variable cleanup
Brendan Hansen [Sun, 23 Apr 2023 19:09:17 +0000 (14:09 -0500)]
fixed: more special global variable cleanup

2 years agocleanup: random old code
Brendan Hansen [Sat, 22 Apr 2023 18:02:08 +0000 (13:02 -0500)]
cleanup: random old code

2 years agoMerge pull request #11 from onyx-lang/feature/closures
Brendan Hansen [Sat, 22 Apr 2023 01:46:27 +0000 (20:46 -0500)]
Merge pull request #11 from onyx-lang/feature/closures

Feature - Closures

2 years agoadded: closure by reference (very succeptible to dangling pointers)
Brendan Hansen [Sat, 22 Apr 2023 01:27:17 +0000 (20:27 -0500)]
added: closure by reference (very succeptible to dangling pointers)

2 years agobugfix: miscellaneous missing in refactor
Brendan Hansen [Sat, 22 Apr 2023 01:04:49 +0000 (20:04 -0500)]
bugfix: miscellaneous missing in refactor

2 years agofixed: function pointers in static data
Brendan Hansen [Fri, 21 Apr 2023 21:58:20 +0000 (16:58 -0500)]
fixed: function pointers in static data

2 years agoadded: functions can be constructed using structure literals
Brendan Hansen [Fri, 21 Apr 2023 21:33:27 +0000 (16:33 -0500)]
added: functions can be constructed using structure literals

2 years agoadded: `type_is_function`; changed: made closures movable
Brendan Hansen [Fri, 21 Apr 2023 21:20:55 +0000 (16:20 -0500)]
added: `type_is_function`; changed: made closures movable

2 years agochanged: small bugfixes with edges of bad closures
Brendan Hansen [Fri, 21 Apr 2023 20:15:17 +0000 (15:15 -0500)]
changed: small bugfixes with edges of bad closures

2 years agochanged: refactored closures to be less stupid
Brendan Hansen [Fri, 21 Apr 2023 19:36:23 +0000 (14:36 -0500)]
changed: refactored closures to be less stupid

2 years agoMerge branch 'dev' into feature/closures
Brendan Hansen [Fri, 21 Apr 2023 18:34:34 +0000 (13:34 -0500)]
Merge branch 'dev' into feature/closures

2 years agochanged: getting ready for onyx watch
Brendan Hansen [Fri, 21 Apr 2023 15:20:55 +0000 (10:20 -0500)]
changed: getting ready for onyx watch

2 years agochanged: better memory management
Brendan Hansen [Fri, 21 Apr 2023 04:17:34 +0000 (23:17 -0500)]
changed: better memory management

2 years agofixed: wasi compilation
Brendan Hansen [Fri, 21 Apr 2023 03:08:56 +0000 (22:08 -0500)]
fixed: wasi compilation