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

18 months agoMerge pull request #56 from judah-caruso/support-ovm-darwin
Brendan Hansen [Mon, 4 Dec 2023 16:32:30 +0000 (10:32 -0600)]
Merge pull request #56 from judah-caruso/support-ovm-darwin

Feature: OVMwasm darwin support (x86_64, arm64)

18 months agofix broken mremap alternative on darwin; re-add mremap for linux
Judah Caruso [Mon, 4 Dec 2023 16:02:21 +0000 (09:02 -0700)]
fix broken mremap alternative on darwin; re-add mremap for linux

18 months agoMerge pull request #57 from judah-caruso/improve-sublime-text-support
Brendan Hansen [Mon, 4 Dec 2023 15:40:49 +0000 (09:40 -0600)]
Merge pull request #57 from judah-caruso/improve-sublime-text-support

Add onyx.tmPreferences for Sublime Text comment support

18 months agoadd tmPreferences for comment support
Judah Caruso [Mon, 4 Dec 2023 07:53:30 +0000 (00:53 -0700)]
add tmPreferences for comment support

18 months agoremoved commented code
Judah Caruso [Mon, 4 Dec 2023 07:43:12 +0000 (00:43 -0700)]
removed commented code

18 months agoremove x86_64 libovmwasm.a file
Judah Caruso [Mon, 4 Dec 2023 07:39:33 +0000 (00:39 -0700)]
remove x86_64 libovmwasm.a file

18 months agoremove libovmwasm.a file
Judah Caruso [Mon, 4 Dec 2023 07:38:50 +0000 (00:38 -0700)]
remove libovmwasm.a file

18 months agoremove flag from build.sh
Judah Caruso [Mon, 4 Dec 2023 07:34:17 +0000 (00:34 -0700)]
remove flag from build.sh

18 months agoget libovmwasm to build on darwin (x86_64/arm64)
Judah Caruso [Mon, 4 Dec 2023 07:26:52 +0000 (00:26 -0700)]
get libovmwasm to build on darwin (x86_64/arm64)

18 months agoadd array member access; add tests
Judah Caruso [Mon, 4 Dec 2023 02:01:29 +0000 (19:01 -0700)]
add array member access; add tests

18 months agoMerge pull request #54 from onyx-lang/fix/exporting-non-procedures
Brendan Hansen [Mon, 4 Dec 2023 00:07:47 +0000 (18:07 -0600)]
Merge pull request #54 from onyx-lang/fix/exporting-non-procedures

fixed: ability to `#export` things that are not procedures

18 months agofixed: ability to `#export` things that are not procedures
Brendan Hansen [Mon, 4 Dec 2023 00:03:43 +0000 (18:03 -0600)]
fixed: ability to `#export` things that are not procedures

18 months agoMerge pull request #53 from judah-caruso/fix-const-arrays
Brendan Hansen [Sun, 3 Dec 2023 22:57:44 +0000 (16:57 -0600)]
Merge pull request #53 from judah-caruso/fix-const-arrays

Handle unary expressions when building array types; disallow negative array sizes; add test

18 months agoremoved: incorrect magic bytes when runtime is `onyx`
Brendan Hansen [Sun, 3 Dec 2023 22:53:48 +0000 (16:53 -0600)]
removed: incorrect magic bytes when runtime is `onyx`

18 months agoFix array type building not handling unary expressions for arrays; add test
Judah Caruso [Sun, 3 Dec 2023 22:49:29 +0000 (15:49 -0700)]
Fix array type building not handling unary expressions for arrays; add test

18 months agoUpdate README.md to include Discord link
Brendan Hansen [Sun, 3 Dec 2023 21:10:52 +0000 (15:10 -0600)]
Update README.md to include Discord link

18 months agoMerge pull request #47 from judah-caruso/fix-failing-build-on-mac
Brendan Hansen [Sun, 3 Dec 2023 02:46:44 +0000 (20:46 -0600)]
Merge pull request #47 from judah-caruso/fix-failing-build-on-mac

18 months agoFix runtime build failing on darwin; update gitignore
Judah Caruso [Sun, 3 Dec 2023 02:20:51 +0000 (19:20 -0700)]
Fix runtime build failing on darwin; update gitignore

18 months agoMerge pull request #43 from onyx-lang/fix/vscode-lsp-on-windows
Brendan Hansen [Sat, 2 Dec 2023 15:07:52 +0000 (09:07 -0600)]
Merge pull request #43 from onyx-lang/fix/vscode-lsp-on-windows

Fix/vscode lsp on windows

18 months agoMerge pull request #42 from onyx-lang/fix/windows-package-manager
Brendan Hansen [Sat, 2 Dec 2023 15:06:36 +0000 (09:06 -0600)]
Merge pull request #42 from onyx-lang/fix/windows-package-manager

fixed: package manager not included on Windows release

18 months agofixed: `onyx` binary not found in VSCode extension
Brendan Hansen [Sat, 2 Dec 2023 15:02:45 +0000 (09:02 -0600)]
fixed: `onyx` binary not found in VSCode extension

18 months agofixed: package manager not included on Windows release
Brendan Hansen [Sat, 2 Dec 2023 14:49:08 +0000 (08:49 -0600)]
fixed: package manager not included on Windows release