Skip to content

1.2.0 - 2023-11-17

Choose a tag to compare

@github-actions github-actions released this 17 Nov 19:21
· 26 commits to main since this release

Release Notes

Bug Fixes

  • Expand parser recovery set to all statement boundaries
  • Remove potential panics
  • Allow int/float comparisons in ==
  • Improve error output
  • Change LexError display impl
  • Use try_fold to not swallow fmt errors
  • Persist expr span info through the HIR

Features

  • Do type-checking in == implementation
  • Report line/column info for lex errors
  • Display line/column info for parse errors
  • Display line/column info for all errors
  • Retain span info for both exprs and statements

Miscellaneous Tasks

  • Run all tests regardless of failures
  • Update actions/checkout to v4

Refactor

  • Move builtin function impls into separate module
  • Switch to using clap for args parsing
  • Change args to exec_for_loop

Styling

  • Apply some pedantic lints
  • Set max line width to 80 cols

Install ocrlang 1.2.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Clay-6/ocrlang/releases/download/v1.2.0/ocrlang-installer.sh | sh

Install prebuilt binaries via powershell script

irm https://github.com/Clay-6/ocrlang/releases/download/v1.2.0/ocrlang-installer.ps1 | iex

Download ocrlang 1.2.0

File Platform Checksum
ocrlang-aarch64-apple-darwin.tar.xz macOS Apple Silicon checksum
ocrlang-x86_64-apple-darwin.tar.xz macOS Intel checksum
ocrlang-x86_64-pc-windows-msvc.zip Windows x64 checksum
ocrlang-x86_64-unknown-linux-gnu.tar.xz Linux x64 checksum
ocrlang-x86_64-unknown-linux-musl.tar.xz musl Linux x64 checksum