8000 Release v0.4.0 · mimium-org/mimium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

v0.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Apr 07:45
12fb684

v0.4.0

New Language Feature

Struct type and type alias are introduced(#56).

type stereo = (float,float)
type composite = {signal:stereo , id:float}
fn test2(){
    ogya = composite{(100,200), 100}
    ho,fu = ogya.signal
    he = ogya.id
    println(ho)
    println(fu)
    println(he)
}
test2()

Still struct type has several limitations.

  • Embedding function type variable onto struct (and tuple) cannot be used for closure.
  • destructive assignment for struct variable by dot operator is not implemented yet(only a parser is implemented).

Bugfixes

  • Fixed a behaviour of CLI when it could not find an input file path(#62,by @t-sin).

Refactoring

  • Some internal helper functions such as recursive variants are refined.
0