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

18 months agocleanup: macos compiler build errors
Brendan Hansen [Wed, 13 Dec 2023 03:38:19 +0000 (21:38 -0600)]
cleanup: macos compiler build errors

18 months agofixed: `core.list` implementation. added: test case
Brendan Hansen [Tue, 12 Dec 2023 18:58:29 +0000 (12:58 -0600)]
fixed: `core.list` implementation. added: test case

18 months agofixed: inability to remove read-only files on Windows
Brendan Hansen [Mon, 11 Dec 2023 18:21:47 +0000 (12:21 -0600)]
fixed: inability to remove read-only files on Windows

18 months agoadded: test case for #82
Brendan Hansen [Mon, 11 Dec 2023 17:14:46 +0000 (11:14 -0600)]
added: test case for #82

18 months agofixed: #82 parsing error
Brendan Hansen [Mon, 11 Dec 2023 17:10:58 +0000 (11:10 -0600)]
fixed: #82 parsing error

18 months agofixed: segmentation fault on windows
Brendan Hansen [Mon, 11 Dec 2023 02:47:32 +0000 (20:47 -0600)]
fixed: segmentation fault on windows

18 months agofixed: `CreateDirectoryA` on windows
Brendan Hansen [Mon, 11 Dec 2023 02:23:30 +0000 (20:23 -0600)]
fixed: `CreateDirectoryA` on windows

18 months agowindows package manager fixes
Brendan Hansen [Mon, 11 Dec 2023 01:36:20 +0000 (19:36 -0600)]
windows package manager fixes

18 months agofixed: #81 parsing bug
Brendan Hansen [Mon, 11 Dec 2023 00:10:15 +0000 (18:10 -0600)]
fixed: #81 parsing bug

18 months agoattemped fix: windows compilation of runtime
Brendan Hansen [Sun, 10 Dec 2023 16:23:29 +0000 (10:23 -0600)]
attemped fix: windows compilation of runtime

18 months agoattempted fix: `FailedToRun` errors on Windows
Brendan Hansen [Sun, 10 Dec 2023 16:15:40 +0000 (10:15 -0600)]
attempted fix: `FailedToRun` errors on Windows

18 months agoattempted fix: process spawning on Windows
Brendan Hansen [Sun, 10 Dec 2023 15:19:46 +0000 (09:19 -0600)]
attempted fix: process spawning on Windows

18 months agofixed: #58 by adding `_initialize` export
Brendan Hansen [Sun, 10 Dec 2023 04:08:28 +0000 (22:08 -0600)]
fixed: #58 by adding `_initialize` export

18 months agofixed: broken code with new if-expr precedence
Brendan Hansen [Sun, 10 Dec 2023 03:50:41 +0000 (21:50 -0600)]
fixed: broken code with new if-expr precedence

18 months agoMerge pull request #79 from onyx-lang/fix/nested-array-literals-broken
Brendan Hansen [Sun, 10 Dec 2023 02:30:44 +0000 (20:30 -0600)]
Merge pull request #79 from onyx-lang/fix/nested-array-literals-broken

Fixed: nested array literals causes a segfault

18 months agofixed: nested array literals causes a segfault
Brendan Hansen [Sun, 10 Dec 2023 02:25:16 +0000 (20:25 -0600)]
fixed: nested array literals causes a segfault

18 months agoMerge pull request #78 from onyx-lang/fix/if-expr-precedence
Brendan Hansen [Sun, 10 Dec 2023 02:24:46 +0000 (20:24 -0600)]
Merge pull request #78 from onyx-lang/fix/if-expr-precedence

Fixed: precedence of if-expressions

18 months agofixed: precedence of if-expressions
Brendan Hansen [Sun, 10 Dec 2023 02:03:36 +0000 (20:03 -0600)]
fixed: precedence of if-expressions

18 months agofinalized nightly release generator
Brendan Hansen [Sat, 9 Dec 2023 04:57:23 +0000 (22:57 -0600)]
finalized nightly release generator

18 months agotesting nightly release action
Brendan Hansen [Sat, 9 Dec 2023 04:52:56 +0000 (22:52 -0600)]
testing nightly release action

18 months agotesting nightly release action
Brendan Hansen [Sat, 9 Dec 2023 04:47:43 +0000 (22:47 -0600)]
testing nightly release action

18 months agotesting nightly release action
Brendan Hansen [Sat, 9 Dec 2023 04:37:56 +0000 (22:37 -0600)]
testing nightly release action

18 months agoMerge pull request #75 from onyx-lang/fix/compound-void-bad-wasm
Brendan Hansen [Sat, 9 Dec 2023 02:08:54 +0000 (20:08 -0600)]
Merge pull request #75 from onyx-lang/fix/compound-void-bad-wasm

Fixed: Incorrect WASM binary generation when `void` type is in a compound type

18 months agofixed: incorrect WASM binary; refined error messages
Brendan Hansen [Fri, 8 Dec 2023 20:10:23 +0000 (14:10 -0600)]
fixed: incorrect WASM binary; refined error messages

18 months agoMerge branch 'master' into fix/compound-void-bad-wasm
Brendan Hansen [Fri, 8 Dec 2023 19:56:20 +0000 (13:56 -0600)]
Merge branch 'master' into fix/compound-void-bad-wasm

18 months agoMerge pull request #74 from stagas/fix/js-default-runtime-settings-multithreading
Brendan Hansen [Fri, 8 Dec 2023 19:18:30 +0000 (13:18 -0600)]
Merge pull request #74 from stagas/fix/js-default-runtime-settings-multithreading

fixed: js default runtime settings for multithreading

18 months agofixed: js default runtime settings for multithreading
stagas [Fri, 8 Dec 2023 19:07:27 +0000 (21:07 +0200)]
fixed: js default runtime settings for multithreading

18 months agofixed: code generation bug when a local's type is `void`
Brendan Hansen [Fri, 8 Dec 2023 18:08:03 +0000 (12:08 -0600)]
fixed: code generation bug when a local's type is `void`

18 months agoMerge pull request #73 from stagas/fix/js-spawn-thread
Brendan Hansen [Fri, 8 Dec 2023 17:37:18 +0000 (11:37 -0600)]
Merge pull request #73 from stagas/fix/js-spawn-thread

fixed: js runtime __spawn_thread signature

18 months agofixed: incorrect error message when the type of an overload procedure is used
Brendan Hansen [Fri, 8 Dec 2023 17:18:37 +0000 (11:18 -0600)]
fixed: incorrect error message when the type of an overload procedure is used

18 months agofixed: js runtime __spawn_thread signature
stagas [Fri, 8 Dec 2023 17:10:53 +0000 (19:10 +0200)]
fixed: js runtime __spawn_thread signature

18 months agoMerge pull request #72 from jtakakura/fix-help-exit-status
Brendan Hansen [Fri, 8 Dec 2023 14:09:21 +0000 (08:09 -0600)]
Merge pull request #72 from jtakakura/fix-help-exit-status

Fixed the help subcommand to return the correct exit status upon execution

18 months agoFixed the help subcommand to return the correct exit status upon execution
Junji Takakura [Fri, 8 Dec 2023 09:22:11 +0000 (18:22 +0900)]
Fixed the help subcommand to return the correct exit status upon execution

18 months agoadded: `iter.counter`
Brendan Hansen [Fri, 8 Dec 2023 04:32:29 +0000 (22:32 -0600)]
added: `iter.counter`

18 months agoMerge pull request #69 from judah-caruso/better-where-clauses
Brendan Hansen [Fri, 8 Dec 2023 02:37:19 +0000 (20:37 -0600)]
Merge pull request #69 from judah-caruso/better-where-clauses

Support for constant expressions in where clauses

18 months agoMerge pull request #68 from judah-caruso/67-fix-non-const-array-size-error
Brendan Hansen [Fri, 8 Dec 2023 02:36:50 +0000 (20:36 -0600)]
Merge pull request #68 from judah-caruso/67-fix-non-const-array-size-error

Improve non-const array size error

18 months agoswap flag from const to comptime
Judah Caruso [Fri, 8 Dec 2023 02:32:47 +0000 (02:32 +0000)]
swap flag from const to comptime

18 months agoMerge branch 'master' into better-where-clauses
Brendan Hansen [Fri, 8 Dec 2023 02:19:51 +0000 (20:19 -0600)]
Merge branch 'master' into better-where-clauses

18 months agoUpdate README.md
Brendan Hansen [Fri, 8 Dec 2023 02:18:53 +0000 (20:18 -0600)]
Update README.md

18 months agoMerge pull request #70 from onyx-lang/fix/build-should-fail-if-it-fails
Brendan Hansen [Fri, 8 Dec 2023 02:18:22 +0000 (20:18 -0600)]
Merge pull request #70 from onyx-lang/fix/build-should-fail-if-it-fails

Fixed: GitHub actions build should exit if it fails

18 months agosilly copy and paste error
Brendan Hansen [Fri, 8 Dec 2023 02:09:10 +0000 (20:09 -0600)]
silly copy and paste error

18 months agofix build on darwin
Brendan Hansen [Fri, 8 Dec 2023 02:03:44 +0000 (20:03 -0600)]
fix build on darwin

18 months agofixed build.sh
Brendan Hansen [Fri, 8 Dec 2023 01:59:13 +0000 (19:59 -0600)]
fixed build.sh