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

16 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

16 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

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

16 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

16 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.

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

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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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`

16 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

16 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

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

16 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

16 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

16 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

16 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

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

16 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

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

16 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

16 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

16 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.

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

16 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

16 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`

16 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 `.*`

16 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

17 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

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

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

17 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

17 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`

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

17 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

17 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

17 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

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

17 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

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

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

17 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`

17 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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

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

17 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

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

17 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

17 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

17 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

17 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`

17 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

18 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`

18 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

18 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

18 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

18 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

18 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

18 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

18 months 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

18 months 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

18 months 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

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

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

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

18 months 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

18 months 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`

18 months 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

18 months 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.

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

18 months agofixed: flag controlling tail calls for Linux build
Brendan Hansen [Wed, 13 Dec 2023 16:58:46 +0000 (10:58 -0600)]
fixed: flag controlling tail calls for Linux build

18 months agofixed: `ovm` backend crashing on MacOS
Brendan Hansen [Wed, 13 Dec 2023 16:54:54 +0000 (10:54 -0600)]
fixed: `ovm` backend crashing on MacOS

18 months agoMerge pull request #76 from judah-caruso/fix-mac-build-warnings
Brendan Hansen [Wed, 13 Dec 2023 16:48:56 +0000 (10:48 -0600)]
Merge pull request #76 from judah-caruso/fix-mac-build-warnings

Fix mac build warnings

18 months agoremove lots of casts
Judah Caruso [Wed, 13 Dec 2023 16:30:06 +0000 (09:30 -0700)]
remove lots of casts

18 months agofix remaining warnings (besides semaphore
Judah Caruso [Wed, 13 Dec 2023 16:20:20 +0000 (09:20 -0700)]
fix remaining warnings (besides semaphore

18 months agointerpreter warnings
Judah Caruso [Fri, 8 Dec 2023 20:58:40 +0000 (13:58 -0700)]
interpreter warnings

18 months agofixed: KDL parsing bug #62
Brendan Hansen [Wed, 13 Dec 2023 04:03:52 +0000 (22:03 -0600)]
fixed: KDL parsing bug #62