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

2 years agochanged: closures use temp allocator
Brendan Hansen [Thu, 20 Apr 2023 14:58:06 +0000 (09:58 -0500)]
changed: closures use temp allocator

2 years agofixed: cast error with new function semantics
Brendan Hansen [Thu, 20 Apr 2023 02:53:12 +0000 (21:53 -0500)]
fixed: cast error with new function semantics

2 years agochanged: capture syntax and location
Brendan Hansen [Wed, 19 Apr 2023 21:48:35 +0000 (16:48 -0500)]
changed: capture syntax and location

2 years agoadded: closures inside of polymorphic procedures
Brendan Hansen [Wed, 19 Apr 2023 16:29:47 +0000 (11:29 -0500)]
added: closures inside of polymorphic procedures

2 years agoadded: working closures for non-polymorphic functions! feature/closures
Brendan Hansen [Wed, 19 Apr 2023 16:03:30 +0000 (11:03 -0500)]
added: working closures for non-polymorphic functions!

2 years agochanged: function pointers now have a closure pointer
Brendan Hansen [Wed, 19 Apr 2023 04:25:19 +0000 (23:25 -0500)]
changed: function pointers now have a closure pointer

2 years agoadded: parsing, symres, checking of capture blocks
Brendan Hansen [Wed, 19 Apr 2023 02:13:49 +0000 (21:13 -0500)]
added: parsing, symres, checking of capture blocks

2 years agoadded: flag for if function is lambda
Brendan Hansen [Wed, 19 Apr 2023 01:38:18 +0000 (20:38 -0500)]
added: flag for if function is lambda

2 years agobugfix: `#callsite` did not work in macros
Brendan Hansen [Wed, 19 Apr 2023 01:13:44 +0000 (20:13 -0500)]
bugfix: `#callsite` did not work in macros

2 years agoadded: explicit types to `do` blocks; fixed: `read_fill_buffer`
Brendan Hansen [Tue, 18 Apr 2023 01:27:24 +0000 (20:27 -0500)]
added: explicit types to `do` blocks; fixed: `read_fill_buffer`

2 years agobugfix: nested do-blocks with indirect return statments
Brendan Hansen [Tue, 18 Apr 2023 01:08:18 +0000 (20:08 -0500)]
bugfix: nested do-blocks with indirect return statments

2 years agoadded: allocator parameter to `core.encoding.osad.deserialize`
Brendan Hansen [Mon, 17 Apr 2023 18:18:14 +0000 (13:18 -0500)]
added: allocator parameter to `core.encoding.osad.deserialize`

2 years agoadded: `--show-all-errors`; fixed: step by instruction
Brendan Hansen [Sat, 15 Apr 2023 03:31:27 +0000 (22:31 -0500)]
added: `--show-all-errors`; fixed: step by instruction

2 years agoadded: documentation for pair
Brendan Hansen [Mon, 10 Apr 2023 17:24:40 +0000 (12:24 -0500)]
added: documentation for pair

2 years agoadded: core.slice documentation
Brendan Hansen [Mon, 10 Apr 2023 16:37:30 +0000 (11:37 -0500)]
added: core.slice documentation

2 years agoadded: distinct type doc output
Brendan Hansen [Sat, 8 Apr 2023 21:24:08 +0000 (16:24 -0500)]
added: distinct type doc output

2 years agoadded: outputting constraints in odoc files
Brendan Hansen [Sat, 8 Apr 2023 18:51:24 +0000 (13:51 -0500)]
added: outputting constraints in odoc files

2 years agoadded: reinterpret intrinsics
Brendan Hansen [Sat, 8 Apr 2023 18:06:25 +0000 (13:06 -0500)]
added: reinterpret intrinsics

2 years agofixed: spelling of `iter.flat_map`
Brendan Hansen [Sat, 8 Apr 2023 04:56:26 +0000 (23:56 -0500)]
fixed: spelling of `iter.flat_map`

2 years agobugfix: scoping issue with Pair.make
Brendan Hansen [Fri, 7 Apr 2023 16:54:50 +0000 (11:54 -0500)]
bugfix: scoping issue with Pair.make

2 years agoadded: `core.encoding.json` as a stale code package
Brendan Hansen [Fri, 7 Apr 2023 16:46:44 +0000 (11:46 -0500)]
added: `core.encoding.json` as a stale code package

2 years agoMerge pull request #10 from onyx-lang/feature/allow-stale-packages
Brendan Hansen [Fri, 7 Apr 2023 16:19:29 +0000 (11:19 -0500)]
Merge pull request #10 from onyx-lang/feature/allow-stale-packages

Feature/allow stale packages

2 years agoadded: `#allow_stale_code` directive; marked uncommon packages
Brendan Hansen [Fri, 7 Apr 2023 16:03:04 +0000 (11:03 -0500)]
added: `#allow_stale_code` directive; marked uncommon packages

2 years agobugfix: removed threading in TCP server for now, due to race condition
Brendan Hansen [Fri, 7 Apr 2023 15:09:15 +0000 (10:09 -0500)]
bugfix: removed threading in TCP server for now, due to race condition

2 years agoupdated: windows build
Brendan Hansen [Thu, 6 Apr 2023 16:29:41 +0000 (11:29 -0500)]
updated: windows build

2 years agochanged: polymorphic structs can have specializations
Brendan Hansen [Wed, 5 Apr 2023 02:58:23 +0000 (21:58 -0500)]
changed: polymorphic structs can have specializations

2 years agoadded: better error messages with interface errors
Brendan Hansen [Tue, 4 Apr 2023 17:13:00 +0000 (12:13 -0500)]
added: better error messages with interface errors

2 years agobugfixes; cleanup old files
Brendan Hansen [Tue, 4 Apr 2023 03:13:11 +0000 (22:13 -0500)]
bugfixes; cleanup old files