Skip to content

Releases: erg-lang/erg

v0.4.0 (beta)

08 Sep 05:15
Compare
Choose a tag to compare
v0.4.0 (beta) Pre-release
Pre-release

Class syntax is experimental in this release.

v0.3.2

30 Aug 14:42
Compare
Choose a tag to compare

A highlight in this release is that variable-length and keyword arguments are now available for function calls.

What's Changed

  • Allow multiple REPL server at once by @ytoml in #86
  • Translate the Japanese documents into English and some text corrections #87 by @GreasySlug in #88
  • Fix a type inference bug for dependent procedural methods by @mtshiba in #89
  • [WIP] Added normal tuple type structure and parser by @GreasySlug in #67
  • Tuple type checking by @mtshiba in #90
  • Implement access to array/tuple elements by @mtshiba in #91
  • Make debug log outputs neater by @ytoml in #93
  • Implement variable-length/keyword arguments by @mtshiba in #94
  • Update tyvar.rs by @mtshiba in #96
  • Added badges to check if a document has been updated by @GreasySlug in #97
  • Fixed vanishing function definition by @ytoml in #99

Full Changelog: v0.3.1...v0.3.2

v0.3.1

28 Aug 02:01
Compare
Choose a tag to compare

This release fixes minor bugs.

  • Fix Lambda parsing bugs
  • Fix a bug that is registered as parameters instead of variables
  • Fix Lambda formatting

Other changes

  • Fixed broken link in Syntax Documentation by @ytoml in #82

New Contributors

  • @ytoml made their first contribution in #82

Full Changelog: v0.3.0...v0.3.1

v0.3.0

28 Aug 01:59
Compare
Choose a tag to compare

With this release, records are now available.

スクリーンショット 2022-08-28 031532

スクリーンショット 2022-08-28 031705

Full Changelog: v0.2.8...v0.3.0

v0.2.8

22 Aug 15:46
Compare
Choose a tag to compare

This version introduces variable visibility.
Now, Erg's compiled files (.pyc) can be imported correctly from Python (private variables are not accessible)!

スクリーンショット 2022-08-23 003216

(You need to compile the Erg file by running erg --mode compile [file].er before executing the Python file.)

A Chinese translation of the error messages was then added by a volunteer. If you want to use this, please install the Chinese version as cargo install erg --features simplified_chinese (or cargo install erg --features traditional_chinese).

Other Changes

  • Add error message translation for Simplified Chinese and Traditional Chinese by @C-BJ in #64
  • Make REPL not show the day of the week on Windows by @C-BJ in #69
  • Update README by @C-BJ in #71
  • Add CC-BY-4.0 LICENSE for documentation and image by @C-BJ in #68
  • Update commit hash by @C-BJ in #74
  • Fix README display by @C-BJ in #77
  • Change the wrong placement of pull_request_template.md by @C-BJ in #78
  • Delete additional PR templates by @C-BJ in #79

Full Changelog: v0.2.6...v0.2.8

v0.2.6

18 Aug 17:59
Compare
Choose a tag to compare

This release continues to fix type inference bugs (examples/fib.er now compiles successfully again).

What's Changed

  • add instruction for REPL/File execution by @ShantanuKumar in #37
  • Add README translation for simplified Chinese and traditional Chinese by @C-BJ in #39
  • Fix a small problem about traditional Chinese Translation by @C-BJ in #41
  • Make the code of erg use Python highlighting in GitHub by @C-BJ in #44
  • feat: switch to pipe mode if piped from stdin by @KisaragiEffective in #38
  • Fix some small problems about traditional Chinese Translation by @C-BJ in #43
  • cargo fmt by @ShantanuKumar in #42
  • Make Github recognize the English version of CODE_OF_CONDUCT and add a link from CONTRIBUTING to CODE_OF_CONDUCT by @C-BJ in #47
  • Add simplified and traditional Chinese translations of the code of conduct by @C-BJ in #49
  • Synchronize Simplified Chinese and Traditional Chinese translations with the English README by @C-BJ in #46
  • Add support for parse tests by @toddlerer in #50
  • Updata README and all its translations by @C-BJ in #54

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

17 Aug 03:41
Compare
Choose a tag to compare

What's Changed

  • Stricter type-check
  • Set timeout for REPL
  • Apply trivial clippy fixes by @passcod in #22
  • Fix --verbose option typo by @toddlerer in #33
  • Add Nix support for reproducible build and develop by @SnO2WMaN in #32

New Contributors

Full Changelog: v0.2.4...v0.2.5

v0.2.3

16 Aug 14:48
Compare
Choose a tag to compare

What's Changed

  • fix: many type inference bugs
  • fix: use where instead of 'which' in windows by @GreasySlug in #10
  • Added an example of omitting the integer portion in the Ratio document. by @soukouki in #9
  • Replaced JP documents in regular form with honorifics by @soukouki in #12
  • Cache dependencies in GitHub Actions by @TaKO8Ki in #14
  • Fix broken links by @TaKO8Ki in #15
  • Fix sorted Python example by @pingiun in #18
  • Revised the style of jp documents from regular to honorific. by @soukouki in #27
  • Update README.md by @SkiingIsFun123 in #24
  • Update TODO.md by @SkiingIsFun123 in #25

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

13 Aug 15:56
Compare
Choose a tag to compare

In this release, type inference for general polymorphic types can now take variance into account.
For example, since the Seq(T) type is covariant with respect to T, Range(T), which implements Seq(T) as a trait, for example, is recognized as a subtype of it.

v0.2.0

12 Aug 09:25
Compare
Choose a tag to compare

With this release, some of the APIs of the math and random modules of Python are now available.

In addition, several type inference bugs have been fixed.