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

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

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

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

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

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

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

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

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

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

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

19 months 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

19 months agofixed: `darwin-wasmer-arm64` compilation
Brendan Hansen [Wed, 22 Nov 2023 20:16:04 +0000 (14:16 -0600)]
fixed: `darwin-wasmer-arm64` compilation

19 months agoforgot to actually add the target to the matrix
Brendan Hansen [Wed, 22 Nov 2023 20:09:07 +0000 (14:09 -0600)]
forgot to actually add the target to the matrix

19 months agoadded: `darwin-wasmer-arm64` compilation
Brendan Hansen [Wed, 22 Nov 2023 20:08:10 +0000 (14:08 -0600)]
added: `darwin-wasmer-arm64` compilation

19 months agofixed: runtime on `darwin-wasmer-amd64`
Brendan Hansen [Wed, 22 Nov 2023 19:47:38 +0000 (13:47 -0600)]
fixed: runtime on `darwin-wasmer-amd64`

19 months agofixed: distribution of `darwin-amd64`
Brendan Hansen [Wed, 22 Nov 2023 19:29:34 +0000 (13:29 -0600)]
fixed: distribution of `darwin-amd64`

19 months agofixed: darwin compilation of random_get
Brendan Hansen [Wed, 22 Nov 2023 19:26:01 +0000 (13:26 -0600)]
fixed: darwin compilation of random_get

19 months agofixed: `darwin-wasmer-amd64` compilation
Brendan Hansen [Wed, 22 Nov 2023 19:20:09 +0000 (13:20 -0600)]
fixed: `darwin-wasmer-amd64` compilation

19 months agofixed: `darwin-wasmer-amd64` compilation
Brendan Hansen [Wed, 22 Nov 2023 19:17:34 +0000 (13:17 -0600)]
fixed: `darwin-wasmer-amd64` compilation

19 months agoadded: `darwin-wasmer-amd64` support
Brendan Hansen [Wed, 22 Nov 2023 19:14:09 +0000 (13:14 -0600)]
added: `darwin-wasmer-amd64` support

19 months agoworking on package documentation
Brendan Hansen [Wed, 22 Nov 2023 19:00:51 +0000 (13:00 -0600)]
working on package documentation

19 months agosmall bugfixes with KDL parsing and onyx-pkg
Brendan Hansen [Wed, 22 Nov 2023 01:05:09 +0000 (19:05 -0600)]
small bugfixes with KDL parsing and onyx-pkg

19 months agoupdated package manager to use KDL instead of INI
Brendan Hansen [Tue, 21 Nov 2023 23:46:26 +0000 (17:46 -0600)]
updated package manager to use KDL instead of INI

19 months agoimprovements to KDL library
Brendan Hansen [Tue, 21 Nov 2023 23:43:48 +0000 (17:43 -0600)]
improvements to KDL library

19 months agoadded: getting/setting current directory
Brendan Hansen [Tue, 21 Nov 2023 16:16:36 +0000 (10:16 -0600)]
added: getting/setting current directory

19 months agoadded: KDL support; bugfixed: segfault in lexer
Brendan Hansen [Tue, 21 Nov 2023 03:49:08 +0000 (21:49 -0600)]
added: KDL support; bugfixed: segfault in lexer

19 months agofixed: bug with wasmer runtime crashing on new thread creation
Brendan Hansen [Mon, 20 Nov 2023 15:25:03 +0000 (09:25 -0600)]
fixed: bug with wasmer runtime crashing on new thread creation

19 months agoadded: `Date.start_of_month()` and `Date.end_of_month()`
Brendan Hansen [Mon, 20 Nov 2023 02:24:56 +0000 (20:24 -0600)]
added: `Date.start_of_month()` and `Date.end_of_month()`

19 months agofixed: package manager on MacOS
Brendan Hansen [Sun, 19 Nov 2023 17:59:46 +0000 (11:59 -0600)]
fixed: package manager on MacOS

19 months agoupdated CHANGELOG
Brendan Hansen [Sun, 19 Nov 2023 05:07:05 +0000 (23:07 -0600)]
updated CHANGELOG

19 months agorenamed: `core/std` -> `core/module`; `--no-std` -> `--no-core`
Brendan Hansen [Sun, 19 Nov 2023 03:55:09 +0000 (21:55 -0600)]
renamed: `core/std` -> `core/module`; `--no-std` -> `--no-core`

19 months agoadded missing and mandatory asset_content_type
Brendan Hansen [Sat, 18 Nov 2023 21:15:10 +0000 (15:15 -0600)]
added missing and mandatory asset_content_type

19 months agofixed wrong upload target
Brendan Hansen [Sat, 18 Nov 2023 21:07:26 +0000 (15:07 -0600)]
fixed wrong upload target

19 months agocannot mix matrix strategy and download artifacts
Brendan Hansen [Sat, 18 Nov 2023 20:59:16 +0000 (14:59 -0600)]
cannot mix matrix strategy and download artifacts

19 months agofixed asset upload
Brendan Hansen [Sat, 18 Nov 2023 20:37:51 +0000 (14:37 -0600)]
fixed asset upload

19 months agoMerge pull request #29 from onyx-lang/dev
Brendan Hansen [Sat, 18 Nov 2023 20:27:06 +0000 (14:27 -0600)]
Merge pull request #29 from onyx-lang/dev

Release 0.1.8 (Part 1)

19 months agomore building improvements on MacOS
Brendan Hansen [Sat, 18 Nov 2023 20:06:10 +0000 (14:06 -0600)]
more building improvements on MacOS

19 months agochanged: build variables
Brendan Hansen [Fri, 17 Nov 2023 19:37:14 +0000 (13:37 -0600)]
changed: build variables

19 months agobugfix: memory limit was not respected; removed heap exports
Brendan Hansen [Fri, 17 Nov 2023 18:41:30 +0000 (12:41 -0600)]
bugfix: memory limit was not respected; removed heap exports

19 months agofixed: macos compilation for amd64
Brendan Hansen [Thu, 16 Nov 2023 23:43:04 +0000 (17:43 -0600)]
fixed: macos compilation for amd64

19 months agotesting: cross compilation for MacOS targets
Brendan Hansen [Thu, 16 Nov 2023 23:39:31 +0000 (17:39 -0600)]
testing: cross compilation for MacOS targets

19 months agofixed: install script infinite loop
Brendan Hansen [Thu, 16 Nov 2023 22:51:12 +0000 (16:51 -0600)]
fixed: install script infinite loop

19 months agofixed: install script infinite loop
Brendan Hansen [Thu, 16 Nov 2023 22:49:27 +0000 (16:49 -0600)]
fixed: install script infinite loop

19 months agofixed: minor issues in installation script
Brendan Hansen [Thu, 16 Nov 2023 22:47:05 +0000 (16:47 -0600)]
fixed: minor issues in installation script

19 months agocleanup build; adding install script
Brendan Hansen [Thu, 16 Nov 2023 22:19:48 +0000 (16:19 -0600)]
cleanup build; adding install script

19 months agochanged: simplifying build process
Brendan Hansen [Thu, 16 Nov 2023 21:35:14 +0000 (15:35 -0600)]
changed: simplifying build process

19 months agotesting GitHub action build on MacOS
Brendan Hansen [Thu, 16 Nov 2023 21:08:03 +0000 (15:08 -0600)]
testing GitHub action build on MacOS