onyx.git
21 months agoRelease 0.1.9 master
Brendan Hansen [Tue, 20 Feb 2024 00:43:33 +0000 (18:43 -0600)]
Release 0.1.9

21 months agofixed: js build
Brendan Hansen [Mon, 19 Feb 2024 23:56:15 +0000 (17:56 -0600)]
fixed: js build

21 months agofixed: bug with `array.insert`
Brendan Hansen [Mon, 19 Feb 2024 20:30:40 +0000 (14:30 -0600)]
fixed: bug with `array.insert`

21 months agoadded: decoding json into dynamic array
Brendan Hansen [Mon, 19 Feb 2024 15:17:16 +0000 (09:17 -0600)]
added: decoding json into dynamic array

21 months agoMerge pull request #105 from benstt/fix/windows_build_bat
Brendan Hansen [Mon, 19 Feb 2024 04:20:14 +0000 (22:20 -0600)]
Merge pull request #105 from benstt/fix/windows_build_bat

Fix Windows failing to compile with build.bat

21 months agofixed: problems with WASIX definitions
Brendan Hansen [Mon, 19 Feb 2024 04:09:44 +0000 (22:09 -0600)]
fixed: problems with WASIX definitions

21 months agoadded: per-file flag for optional semicolons
Brendan Hansen [Mon, 19 Feb 2024 03:13:38 +0000 (21:13 -0600)]
added: per-file flag for optional semicolons

21 months agofixex: windows failing to compile with build.bat
Benjamín García Roqués [Sun, 18 Feb 2024 15:23:53 +0000 (12:23 -0300)]
fixex: windows failing to compile with build.bat

21 months agofixed: weird issue with operator == for Optionals
Brendan Hansen [Sun, 18 Feb 2024 04:06:53 +0000 (22:06 -0600)]
fixed: weird issue with operator == for Optionals

21 months agoMerge pull request #103 from onyx-lang/feature/optional-semicolons
Brendan Hansen [Sun, 18 Feb 2024 03:41:11 +0000 (21:41 -0600)]
Merge pull request #103 from onyx-lang/feature/optional-semicolons

Major Language Changes for 0.1.9

22 months agobugfix: code block scoping
Brendan Hansen [Fri, 16 Feb 2024 00:05:20 +0000 (18:05 -0600)]
bugfix: code block scoping

22 months agoadded: better VS Code support for debug session selection
Brendan Hansen [Wed, 14 Feb 2024 21:43:31 +0000 (15:43 -0600)]
added: better VS Code support for debug session selection

22 months agocleaned: implementation details of closures
Brendan Hansen [Wed, 14 Feb 2024 05:21:28 +0000 (23:21 -0600)]
cleaned: implementation details of closures

This change reduces the complexity of function closure by removing the `closure_size` property on functions, and instead moves this information into the first 8 bytes of the closure block that is allocated. This means that closure blocks are slightly larger, but this extra field that pushes complexity to the end user is eliminated. Net win.

22 months agoupdated: CHANGELOG
Brendan Hansen [Tue, 13 Feb 2024 04:27:59 +0000 (22:27 -0600)]
updated: CHANGELOG

22 months agochanged: debug socket uses pid
Brendan Hansen [Sun, 11 Feb 2024 06:41:38 +0000 (00:41 -0600)]
changed: debug socket uses pid

22 months agoMerge branch 'feature/for-loop-syntax' into feature/optional-semicolons
Brendan Hansen [Sat, 10 Feb 2024 05:13:16 +0000 (23:13 -0600)]
Merge branch 'feature/for-loop-syntax' into feature/optional-semicolons

22 months agoadded: index variables in `for` loops
Brendan Hansen [Sat, 10 Feb 2024 05:12:24 +0000 (23:12 -0600)]
added: index variables in `for` loops

22 months agoMerge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better
Brendan Hansen [Fri, 9 Feb 2024 02:51:09 +0000 (20:51 -0600)]
Merge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better

22 months agoMerge branch 'master' into feature/for-loop-syntax
Brendan Hansen [Fri, 9 Feb 2024 02:50:53 +0000 (20:50 -0600)]
Merge branch 'master' into feature/for-loop-syntax

22 months agoadded: `map.copy`
Brendan Hansen [Fri, 9 Feb 2024 02:50:26 +0000 (20:50 -0600)]
added: `map.copy`

22 months agoMerge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better
Brendan Hansen [Thu, 8 Feb 2024 23:21:53 +0000 (17:21 -0600)]
Merge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better

22 months agoMerge branch 'master' into feature/for-loop-syntax
Brendan Hansen [Thu, 8 Feb 2024 23:21:40 +0000 (17:21 -0600)]
Merge branch 'master' into feature/for-loop-syntax

22 months agoadded: developer `--perf` flag to see what is using the most compilation time
Brendan Hansen [Thu, 8 Feb 2024 23:21:21 +0000 (17:21 -0600)]
added: developer `--perf` flag to see what is using the most compilation time

22 months agofixed: random bugs with expected semi-colons
Brendan Hansen [Thu, 8 Feb 2024 23:05:54 +0000 (17:05 -0600)]
fixed: random bugs with expected semi-colons

22 months agoMerge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better
Brendan Hansen [Thu, 8 Feb 2024 22:07:18 +0000 (16:07 -0600)]
Merge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better

22 months agofixed: bug with checking argument types to interface construction
Brendan Hansen [Thu, 8 Feb 2024 22:06:50 +0000 (16:06 -0600)]
fixed: bug with checking argument types to interface construction

22 months agofixed: optional semicolons on naked return statement
Brendan Hansen [Thu, 8 Feb 2024 22:03:25 +0000 (16:03 -0600)]
fixed: optional semicolons on naked return statement

22 months agoMerge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better
Brendan Hansen [Wed, 7 Feb 2024 04:25:20 +0000 (22:25 -0600)]
Merge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better

22 months agoMerge branch 'master' into feature/for-loop-syntax
Brendan Hansen [Wed, 7 Feb 2024 04:24:59 +0000 (22:24 -0600)]
Merge branch 'master' into feature/for-loop-syntax

22 months agofixed: `onyx package migrate` since addition of `--generate-method-info`
Brendan Hansen [Wed, 7 Feb 2024 04:21:19 +0000 (22:21 -0600)]
fixed: `onyx package migrate` since addition of `--generate-method-info`

22 months agoMerge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better
Brendan Hansen [Wed, 7 Feb 2024 00:56:32 +0000 (18:56 -0600)]
Merge branch 'feature/for-loop-syntax' into tmp/optional-semicolons-better

22 months agoMerge branch 'master' into feature/for-loop-syntax
Brendan Hansen [Wed, 7 Feb 2024 00:56:15 +0000 (18:56 -0600)]
Merge branch 'master' into feature/for-loop-syntax

22 months agoadded: test case for `#inject`
Brendan Hansen [Wed, 7 Feb 2024 00:56:05 +0000 (18:56 -0600)]
added: test case for `#inject`

22 months agofixed: `#inject`ing symbols that are also in global scope
Brendan Hansen [Wed, 7 Feb 2024 00:54:56 +0000 (18:54 -0600)]
fixed: `#inject`ing symbols that are also in global scope

22 months agofixed: parsing of compound expression return values in quick procedures
Brendan Hansen [Tue, 6 Feb 2024 20:27:54 +0000 (14:27 -0600)]
fixed: parsing of compound expression return values in quick procedures

22 months agofixed: parsing of compound results in quick functions
Brendan Hansen [Tue, 6 Feb 2024 17:30:56 +0000 (11:30 -0600)]
fixed: parsing of compound results in quick functions

22 months agochanged: optional semicolons are behind a feature flag
Brendan Hansen [Tue, 6 Feb 2024 03:10:41 +0000 (21:10 -0600)]
changed: optional semicolons are behind a feature flag

22 months agofully working implementation
Brendan Hansen [Tue, 6 Feb 2024 02:21:02 +0000 (20:21 -0600)]
fully working implementation

22 months agostandard library changes for optional semicolons
Brendan Hansen [Mon, 5 Feb 2024 22:57:37 +0000 (16:57 -0600)]
standard library changes for optional semicolons

22 months agocompiler changes for optional semicolons
Brendan Hansen [Mon, 5 Feb 2024 22:57:26 +0000 (16:57 -0600)]
compiler changes for optional semicolons

22 months agofixed: syntax highlighting for new keywords
Brendan Hansen [Mon, 5 Feb 2024 14:52:33 +0000 (08:52 -0600)]
fixed: syntax highlighting for new keywords

22 months agofixed: missing clone that could leading to big problems
Brendan Hansen [Sun, 4 Feb 2024 22:08:34 +0000 (16:08 -0600)]
fixed: missing clone that could leading to big problems

22 months agochanged: interface syntax
Brendan Hansen [Sun, 4 Feb 2024 21:31:24 +0000 (15:31 -0600)]
changed: interface syntax

Interfaces now look more like procedures, with sentinels being specified using `t as T` in the body.

22 months agofixed: silly json encoder mistake
Brendan Hansen [Sun, 4 Feb 2024 19:31:39 +0000 (13:31 -0600)]
fixed: silly json encoder mistake

22 months agoupdated CHANGELOG and fix spacing in a test case
Brendan Hansen [Sun, 4 Feb 2024 05:25:36 +0000 (23:25 -0600)]
updated CHANGELOG and fix spacing in a test case

22 months agoadded: `defer` as alternative to `#bottom_test`
Brendan Hansen [Sat, 3 Feb 2024 22:16:52 +0000 (16:16 -0600)]
added: `defer` as alternative to `#bottom_test`

22 months agobreaking syntax change
Brendan Hansen [Sat, 3 Feb 2024 21:59:01 +0000 (15:59 -0600)]
breaking syntax change

`for` loop syntax
`case` capture syntax
added `.*`

22 months agoMerge pull request #102 from Syuparn/fix-list-at
Brendan Hansen [Wed, 31 Jan 2024 14:34:32 +0000 (08:34 -0600)]
Merge pull request #102 from Syuparn/fix-list-at

Fixed: list.at to solve for polymorphic variable

22 months agofixed: list.at to solve for polymorphic variable
syuparn [Fri, 26 Jan 2024 00:42:03 +0000 (09:42 +0900)]
fixed: list.at to solve for polymorphic variable

22 months agofixed: #99
Brendan Hansen [Mon, 22 Jan 2024 03:06:26 +0000 (21:06 -0600)]
fixed: #99

22 months agofixed: #98
Brendan Hansen [Sat, 20 Jan 2024 20:06:17 +0000 (14:06 -0600)]
fixed: #98

22 months agocleaned: removed old ast flag that was unused
Brendan Hansen [Sat, 20 Jan 2024 16:24:26 +0000 (10:24 -0600)]
cleaned: removed old ast flag that was unused

22 months agoadded: `json.as_any` and `json.encode_string_opt`
Brendan Hansen [Sat, 20 Jan 2024 04:40:24 +0000 (22:40 -0600)]
added: `json.as_any` and `json.encode_string_opt`

22 months agoupdated CHANGELOG
Brendan Hansen [Thu, 18 Jan 2024 19:43:43 +0000 (13:43 -0600)]
updated CHANGELOG

22 months agofixed: bundling tarball including non-existent directory
Brendan Hansen [Thu, 18 Jan 2024 03:29:25 +0000 (21:29 -0600)]
fixed: bundling tarball including non-existent directory

22 months agochanged: install script to delete `tests` directory
Brendan Hansen [Thu, 18 Jan 2024 03:25:15 +0000 (21:25 -0600)]
changed: install script to delete `tests` directory

22 months agoremoved: including test files with toolchain distribution
Brendan Hansen [Thu, 18 Jan 2024 03:23:26 +0000 (21:23 -0600)]
removed: including test files with toolchain distribution

22 months agofixed: MacOS compilation
Brendan Hansen [Thu, 18 Jan 2024 03:21:16 +0000 (21:21 -0600)]
fixed: MacOS compilation

22 months agofixed: package manager not reinstalled broken native dependencies
Brendan Hansen [Thu, 18 Jan 2024 00:38:00 +0000 (18:38 -0600)]
fixed: package manager not reinstalled broken native dependencies

22 months agoadded: timestamps to file stats
Brendan Hansen [Thu, 18 Jan 2024 00:24:07 +0000 (18:24 -0600)]
added: timestamps to file stats

22 months agofixed: incorrect function mapping number
Brendan Hansen [Wed, 17 Jan 2024 18:55:16 +0000 (12:55 -0600)]
fixed: incorrect function mapping number

22 months agoadded: documentation and functionality to `core.time`
Brendan Hansen [Wed, 17 Jan 2024 03:38:32 +0000 (21:38 -0600)]
added: documentation and functionality to `core.time`

22 months agofixed: compilation error with partially complete Union types
Brendan Hansen [Wed, 17 Jan 2024 03:38:13 +0000 (21:38 -0600)]
fixed: compilation error with partially complete Union types

23 months agofixed: ergonomics with timestamps
Brendan Hansen [Tue, 16 Jan 2024 20:09:46 +0000 (14:09 -0600)]
fixed: ergonomics with timestamps

23 months agoMerge pull request #95 from onyx-lang/fix/tree-shaking
Brendan Hansen [Thu, 11 Jan 2024 23:13:31 +0000 (17:13 -0600)]
Merge pull request #95 from onyx-lang/fix/tree-shaking

Feature: Tree Shaking

23 months agofixed: broken test case that uses method info
Brendan Hansen [Thu, 11 Jan 2024 16:15:52 +0000 (10:15 -0600)]
fixed: broken test case that uses method info

23 months agoadded: tree shaking for globals and strings
Brendan Hansen [Thu, 11 Jan 2024 03:07:47 +0000 (21:07 -0600)]
added: tree shaking for globals and strings

23 months agoadded: basics of tree shaking functions
Brendan Hansen [Wed, 10 Jan 2024 03:43:26 +0000 (21:43 -0600)]
added: basics of tree shaking functions

23 months agoMerge pull request #94 from onyx-lang/fix/inferred-struct-type-errors
Brendan Hansen [Fri, 5 Jan 2024 02:36:30 +0000 (20:36 -0600)]
Merge pull request #94 from onyx-lang/fix/inferred-struct-type-errors

Fixed: Error reporting in certain cases

23 months agoMerge pull request #93 from hatappo/fix-3rd-party-pkg-sync
Brendan Hansen [Fri, 5 Jan 2024 02:35:43 +0000 (20:35 -0600)]
Merge pull request #93 from hatappo/fix-3rd-party-pkg-sync

Quoting KDL nodes containing `//` to avoid being considered a comment

23 months agofixed: type inference bugs and certain error messages
Brendan Hansen [Fri, 5 Jan 2024 01:32:16 +0000 (19:32 -0600)]
fixed: type inference bugs and certain error messages

23 months agoMerge branch 'master' into fix/inferred-struct-type-errors
Brendan Hansen [Fri, 5 Jan 2024 00:27:39 +0000 (18:27 -0600)]
Merge branch 'master' into fix/inferred-struct-type-errors

23 months agobugfix: `slice.group_by` with empty array
Brendan Hansen [Thu, 4 Jan 2024 17:40:31 +0000 (11:40 -0600)]
bugfix: `slice.group_by` with empty array

23 months agoRestored libovmwasm.a
Fumihiko Hata [Thu, 4 Jan 2024 17:24:38 +0000 (02:24 +0900)]
Restored libovmwasm.a

23 months agoRemove unintended file
Fumihiko Hata [Thu, 4 Jan 2024 17:13:30 +0000 (02:13 +0900)]
Remove unintended file

23 months agofixed: quoting KDL string nodes containing `//` to prevent them from being interprete...
Fumihiko Hata [Thu, 4 Jan 2024 16:40:59 +0000 (01:40 +0900)]
fixed: quoting KDL string nodes containing `//` to prevent them from being interpreted as comments

23 months agofixed: `GetCurrentDirectory` linking
Brendan Hansen [Thu, 4 Jan 2024 16:22:44 +0000 (10:22 -0600)]
fixed: `GetCurrentDirectory` linking

23 months agochanged: linux actions to be `ubuntu-20.04`and fixed windows linking bug
Brendan Hansen [Thu, 4 Jan 2024 16:13:44 +0000 (10:13 -0600)]
changed: linux actions to be `ubuntu-20.04`and fixed windows linking bug

23 months agofixed: many bugs related to distinct types
Brendan Hansen [Thu, 4 Jan 2024 02:58:56 +0000 (20:58 -0600)]
fixed: many bugs related to distinct types

23 months agofixed: distinct string types not storing correctly
Brendan Hansen [Wed, 3 Jan 2024 00:19:48 +0000 (18:19 -0600)]
fixed: distinct string types not storing correctly

23 months agoadded: `conv.parse` and `Optional.flatten`
Brendan Hansen [Mon, 1 Jan 2024 21:25:01 +0000 (15:25 -0600)]
added: `conv.parse` and `Optional.flatten`

23 months agoadded: error message when a type inferred struct literal fails
Brendan Hansen [Sat, 30 Dec 2023 23:49:22 +0000 (17:49 -0600)]
added: error message when a type inferred struct literal fails

This is untested in larger code bases if this actually makes a quality of life improvement

23 months agoadded: `iter.sum` and `iter.fold1`
Brendan Hansen [Tue, 26 Dec 2023 19:16:58 +0000 (13:16 -0600)]
added: `iter.sum` and `iter.fold1`

23 months agofixed: silly eror in `#export` duplication reporting
Brendan Hansen [Sat, 23 Dec 2023 04:49:58 +0000 (22:49 -0600)]
fixed: silly eror in `#export` duplication reporting

23 months agofixed: #86 by adding tokens to built in types
Brendan Hansen [Thu, 21 Dec 2023 21:45:24 +0000 (15:45 -0600)]
fixed: #86 by adding tokens to built in types

23 months agofixed: bugs in Onyx platform networking with UDP
Brendan Hansen [Thu, 21 Dec 2023 20:32:16 +0000 (14:32 -0600)]
fixed: bugs in Onyx platform networking with UDP

23 months agofixed: broken test case and duplicate export nanes
Brendan Hansen [Mon, 18 Dec 2023 20:38:49 +0000 (14:38 -0600)]
fixed: broken test case and duplicate export nanes

23 months agofixed: #90 enums not working with `hash.hash` by default
Brendan Hansen [Mon, 18 Dec 2023 14:48:29 +0000 (08:48 -0600)]
fixed: #90 enums not working with `hash.hash` by default

23 months agofixed: #87 by removing unnecessary check
Brendan Hansen [Mon, 18 Dec 2023 04:42:00 +0000 (22:42 -0600)]
fixed: #87 by removing unnecessary check

2 years agofixed: allow for looser debugger breakpoint names
Brendan Hansen [Sun, 17 Dec 2023 01:23:15 +0000 (19:23 -0600)]
fixed: allow for looser debugger breakpoint names

2 years agoMerge pull request #85 from judah-caruso/fix/ovm-debugger-repairs
Brendan Hansen [Fri, 15 Dec 2023 03:08:46 +0000 (21:08 -0600)]
Merge pull request #85 from judah-caruso/fix/ovm-debugger-repairs

Support OVM debugging on mac

2 years agofixed: debug session hanging when debugger disconnects
Brendan Hansen [Fri, 15 Dec 2023 02:59:04 +0000 (20:59 -0600)]
fixed: debug session hanging when debugger disconnects

2 years agomore minor mistakes
Judah Caruso [Fri, 15 Dec 2023 02:18:18 +0000 (19:18 -0700)]
more minor mistakes

2 years agosmall mistake on linux
Judah Caruso [Fri, 15 Dec 2023 02:16:53 +0000 (19:16 -0700)]
small mistake on linux

2 years agoimprove debugger support on mac
Judah Caruso [Fri, 15 Dec 2023 02:04:52 +0000 (19:04 -0700)]
improve debugger support on mac

2 years agoMerge branch 'master' into fix/ovm-debugger-repairs
Brendan Hansen [Thu, 14 Dec 2023 14:53:55 +0000 (08:53 -0600)]
Merge branch 'master' into fix/ovm-debugger-repairs

2 years agofixed: broken WASI builds due to `_initialize`
Brendan Hansen [Thu, 14 Dec 2023 14:53:28 +0000 (08:53 -0600)]
fixed: broken WASI builds due to `_initialize`

2 years agofixed: MacOS OVM debugger
Brendan Hansen [Thu, 14 Dec 2023 05:03:34 +0000 (23:03 -0600)]
fixed: MacOS OVM debugger

Using `sem_open`, better debug socket path

2 years agoUpdate Discord Link again
Brendan Hansen [Wed, 13 Dec 2023 21:59:16 +0000 (15:59 -0600)]
Update Discord Link again

This time for good.

2 years agoUpdate Discord Link
Brendan Hansen [Wed, 13 Dec 2023 21:51:32 +0000 (15:51 -0600)]
Update Discord Link