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

2 years 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

2 years 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

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

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

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

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

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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`

2 years 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

2 years 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

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

2 years 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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

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

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

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

2 years 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

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

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

2 years 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

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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

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

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

2 years 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

2 years 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)

2 years 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

2 years 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

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

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

2 years 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

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

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

2 years 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)

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years agoMerge pull request #37 from magnetenstad/patch-1
Brendan Hansen [Sat, 2 Dec 2023 05:35:19 +0000 (23:35 -0600)]
Merge pull request #37 from magnetenstad/patch-1

Update instance.c to fix build error

2 years agoUpdate instance.c
Magne Tenstad [Sat, 2 Dec 2023 05:23:09 +0000 (06:23 +0100)]
Update instance.c

2 years agoMerge pull request #36 from onyx-lang/fix/windows-compilation
Brendan Hansen [Sat, 2 Dec 2023 04:26:19 +0000 (22:26 -0600)]
Merge pull request #36 from onyx-lang/fix/windows-compilation

Fixed: Windows compilation of `onyx_runtime.dll`

2 years agofixed: windows compilation
Brendan Hansen [Sat, 2 Dec 2023 04:25:30 +0000 (22:25 -0600)]
fixed: windows compilation

2 years agoMerge pull request #35 from silloi/fix/playground-link-to-subdomain
Brendan Hansen [Sat, 2 Dec 2023 04:24:28 +0000 (22:24 -0600)]
Merge pull request #35 from silloi/fix/playground-link-to-subdomain

Update `Try Online` link on README to try.onyxlang.io

2 years agofixed: spelling of `kernel32.lib`
Brendan Hansen [Sat, 2 Dec 2023 04:13:40 +0000 (22:13 -0600)]
fixed: spelling of `kernel32.lib`

2 years agoadded: missing library from windows build command
Brendan Hansen [Sat, 2 Dec 2023 04:06:22 +0000 (22:06 -0600)]
added: missing library from windows build command

2 years agofixed: update `Try Online` link to try.onyxlang.io
silloi [Sat, 2 Dec 2023 03:02:58 +0000 (12:02 +0900)]
fixed: update `Try Online` link to try.onyxlang.io

2 years agoreverted breaking change in onyx package manager
Brendan Hansen [Wed, 29 Nov 2023 01:50:19 +0000 (19:50 -0600)]
reverted breaking change in onyx package manager

2 years agoUpdate onyx-build.yml to include Darwin Wasmer builds
Brendan Hansen [Wed, 29 Nov 2023 01:39:31 +0000 (19:39 -0600)]
Update onyx-build.yml to include Darwin Wasmer builds

2 years agoMerge pull request #30 from onyx-lang/dev
Brendan Hansen [Wed, 29 Nov 2023 01:24:07 +0000 (19:24 -0600)]
Merge pull request #30 from onyx-lang/dev

Release 0.1.8 (Part 2)

2 years agoadded: check that git is installed in onyx package dev
Brendan Hansen [Wed, 29 Nov 2023 01:21:39 +0000 (19:21 -0600)]
added: check that git is installed in onyx package

2 years agoupdated examples
Brendan Hansen [Tue, 28 Nov 2023 21:38:47 +0000 (15:38 -0600)]
updated examples

2 years agoadded ability to specify license in a package file
Brendan Hansen [Tue, 28 Nov 2023 18:37:19 +0000 (12:37 -0600)]
added ability to specify license in a package file

2 years agoadded: shorthand syntax for `void` typed union variants
Brendan Hansen [Tue, 28 Nov 2023 18:16:42 +0000 (12:16 -0600)]
added: shorthand syntax for `void` typed union variants

2 years agoadded: string literals to `cstr`s; miscellaneous bugfixes
Brendan Hansen [Mon, 27 Nov 2023 16:44:52 +0000 (10:44 -0600)]
added: string literals to `cstr`s; miscellaneous bugfixes

2 years agoadded: more functionality to cbindgen
Brendan Hansen [Sun, 26 Nov 2023 05:06:06 +0000 (23:06 -0600)]
added: more functionality to cbindgen

2 years agoadded: onyx version information to runtime
Brendan Hansen [Fri, 24 Nov 2023 19:32:41 +0000 (13:32 -0600)]
added: onyx version information to runtime

2 years agoadded: build configurations to package description
Brendan Hansen [Fri, 24 Nov 2023 19:04:33 +0000 (13:04 -0600)]
added: build configurations to package description

2 years agochanged: `net.make_ipv4_address`
Brendan Hansen [Thu, 23 Nov 2023 05:25:45 +0000 (23:25 -0600)]
changed: `net.make_ipv4_address`

2 years agofixed unset paths in onyx-pkg init
Brendan Hansen [Wed, 22 Nov 2023 20:42:26 +0000 (14:42 -0600)]
fixed unset paths in onyx-pkg init

2 years agofixed: `darwin-wasmer-arm64` runtime target
Brendan Hansen [Wed, 22 Nov 2023 20:29:38 +0000 (14:29 -0600)]
fixed: `darwin-wasmer-arm64` runtime target

2 years agofixed: wasmer library path in `darwin-wasmer-arm64`
Brendan Hansen [Wed, 22 Nov 2023 20:23:29 +0000 (14:23 -0600)]
fixed: wasmer library path in `darwin-wasmer-arm64`

2 years agofixed: `darwin-wasmer-arm64` download path
Brendan Hansen [Wed, 22 Nov 2023 20:20:07 +0000 (14:20 -0600)]
fixed: `darwin-wasmer-arm64` download path