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

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

18 months agochanged build.sh to error if it fails
Brendan Hansen [Fri, 8 Dec 2023 01:54:44 +0000 (19:54 -0600)]
changed build.sh to error if it fails

18 months agois this breaking the pipeline?
Judah Caruso [Fri, 8 Dec 2023 01:28:35 +0000 (18:28 -0700)]
is this breaking the pipeline?

18 months agoSmall test
Judah Caruso [Fri, 8 Dec 2023 01:22:51 +0000 (18:22 -0700)]
Small test

18 months agoSupport for constant expressions in where clauses
Judah Caruso [Fri, 8 Dec 2023 01:22:43 +0000 (18:22 -0700)]
Support for constant expressions in where clauses

18 months agoMake sure build stops if it fails
Judah Caruso [Fri, 8 Dec 2023 01:21:52 +0000 (18:21 -0700)]
Make sure build stops if it fails

18 months agoclarify error message more
Judah Caruso [Thu, 7 Dec 2023 23:30:38 +0000 (23:30 +0000)]
clarify error message more

18 months agoimprove non-const array size error
Judah Caruso [Thu, 7 Dec 2023 19:03:52 +0000 (12:03 -0700)]
improve non-const array size error

18 months agoadded: better error message when `->` is used incorrectly
Brendan Hansen [Thu, 7 Dec 2023 00:35:28 +0000 (18:35 -0600)]
added: better error message when `->` is used incorrectly

18 months agostarted working on fixed bug from #63
Brendan Hansen [Wed, 6 Dec 2023 19:30:36 +0000 (13:30 -0600)]
started working on fixed bug from #63

18 months agofixed: implementation of `array.remove` and `array.filter`
Brendan Hansen [Wed, 6 Dec 2023 16:38:50 +0000 (10:38 -0600)]
fixed: implementation of `array.remove` and `array.filter`

18 months agofixed: critical bug in `iter.fold` producing wrong values
Brendan Hansen [Wed, 6 Dec 2023 16:29:30 +0000 (10:29 -0600)]
fixed: critical bug in `iter.fold` producing wrong values

18 months agoMerge pull request #64 from judah-caruso/support-array-programming
Brendan Hansen [Wed, 6 Dec 2023 14:42:59 +0000 (08:42 -0600)]
Merge pull request #64 from judah-caruso/support-array-programming

Support array programming with builtin operator overloads and new intrinsic

18 months agofixed issue with memory_equal in builtin not resolving
Judah Caruso [Tue, 5 Dec 2023 20:27:48 +0000 (13:27 -0700)]
fixed issue with memory_equal in builtin not resolving

18 months agoadd array w/ scalar operations; update tests
Judah Caruso [Tue, 5 Dec 2023 18:30:52 +0000 (11:30 -0700)]
add array w/ scalar operations; update tests

18 months agoother operators should be macros as well
Judah Caruso [Tue, 5 Dec 2023 18:00:51 +0000 (11:00 -0700)]
other operators should be macros as well

18 months agomove builtin operator overloads into separate file; add array math operators
Judah Caruso [Tue, 5 Dec 2023 17:57:47 +0000 (10:57 -0700)]
move builtin operator overloads into separate file; add array math operators

18 months agoadd 'memory_equal' intrinsic
Judah Caruso [Tue, 5 Dec 2023 06:17:38 +0000 (23:17 -0700)]
add 'memory_equal' intrinsic

18 months agofixed: critical bug in `list.free`
Brendan Hansen [Mon, 4 Dec 2023 20:10:29 +0000 (14:10 -0600)]
fixed: critical bug in `list.free`

18 months agoMerge pull request #60 from onyx-lang/fix/code-block-expr-clarification
Brendan Hansen [Mon, 4 Dec 2023 18:01:47 +0000 (12:01 -0600)]
Merge pull request #60 from onyx-lang/fix/code-block-expr-clarification

added: clarifying error message for code-block usage

18 months agoadded: clarifying error message when statement code block is used in expression context
Brendan Hansen [Mon, 4 Dec 2023 18:00:12 +0000 (12:00 -0600)]
added: clarifying error message when statement code block is used in expression context

18 months agoMerge pull request #55 from judah-caruso/array-member-access
Brendan Hansen [Mon, 4 Dec 2023 17:35:48 +0000 (11:35 -0600)]
Merge pull request #55 from judah-caruso/array-member-access

Feature: Fixed-size arrays (size <= 4) can now be accessed by x, y, z, w or r, g, b, a

18 months agoMerge pull request #59 from onyx-lang/feature/macos-ovmwasm-builds
Brendan Hansen [Mon, 4 Dec 2023 17:32:49 +0000 (11:32 -0600)]
Merge pull request #59 from onyx-lang/feature/macos-ovmwasm-builds

MacOS builds for OVM in GitHub Actions

18 months agoadded: missing `darwin_amd64` directory
Brendan Hansen [Mon, 4 Dec 2023 17:24:59 +0000 (11:24 -0600)]
added: missing `darwin_amd64` directory

18 months agofixed: MacOS not having `mktemp`
Brendan Hansen [Mon, 4 Dec 2023 17:21:43 +0000 (11:21 -0600)]
fixed: MacOS not having `mktemp`

18 months agoadded: MacOS builds for OVM in GitHub Actions
Brendan Hansen [Mon, 4 Dec 2023 17:11:22 +0000 (11:11 -0600)]
added: MacOS builds for OVM in GitHub Actions