Skip to content

Releases: fusionlanguage/fut

fut 3.2.11

02 Jun 17:38
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.11-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.11-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.11-1.x86_64.rpm

Changes since 3.2.10:

  • Transpiling int collections to Swift Int32
  • Fixed C translation of temporaries in a child statement that is not a block (#192 reported by @ariankordi)
  • Fixed C# translation of conditional expressions in interpolated strings (#193 reported by @polidobj)
  • Fixed Java translation of foreach (byte b in byteCollection)
  • Resetting temporary variable numbers in C++ switch cases
  • Reporting mismatch of access modifiers for override methods (#194 reported by @polidobj)
  • Honoring left brace escape in interpolated strings with no expressions (#197 reported by @academyofzhuang)

fut 3.2.10

28 Apr 17:53
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.10-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.10-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.10-1.x86_64.rpm

Changes since 3.2.9:

  • Added the ToInt() method on enums (#186 requested by @polidobj)
  • Transpiling internal members as C++ private, with friend classes (#184 suggested by @polidobj)
  • Fixed C++ translation of throw Exception(stringRef) (#189 reported by @polidobj)
  • Transpiling ListRefMethod().AddRange(foo) in a way that avoids Python SyntaxError (#182 reported by @polidobj)
  • Emitting int induction variable in C for array Fill in a typical scenario
  • Avoided unnecessary Int casts in Swift
  • Reporting duplicates with base class members (#187 reported by @allex4project)
  • Rejecting mutation of a storage field in a read-only object (#189 reported by @polidobj)

fut 3.2.9

11 Feb 17:08
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.9-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.9-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.9-1.x86_64.rpm

Changes since 3.2.8:

  • Fixed expressions with Math.Abs/Min/Max/Clamp on nint type
  • Fixed Math.Min/Max/Clamp with different types in C++
  • Math.FusedMultiplyAdd now transpiles to Python 3.13 math.fma instead of an external pyfma package
  • Fixed fut crash on an error regarding a method call (#179 reported by @polidobj)

fut 3.2.8

30 Dec 19:29
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.8-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.8-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.8-1.x86_64.rpm

Changes since 3.2.7:

  • Implemented Math.Abs/Min/Max/Clamp on nint type in C
  • Added nint.TryParse
  • number.TryParse in C detects overflows
  • Added experimental PriorityQueue<T> (C++, C#, Java, Python only for now)
  • Fixed fut crash with a type name where an expression is expected (#178 reported by @polidobj)

fut 3.2.7

09 Oct 14:09
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.7-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.7-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.7-1.x86_64.rpm

Changes since 3.2.6:

  • Added pointer-sized integer type nint. Transpiles to ptrdiff_t in C, C++, D and OpenCL. (#166 requested by @al1-ce)
  • Variables, parameters and this captured in List.Any/All lambda in C++
  • SortedSet.Contains in D
  • Errors for attempts to copy object storage (#176 reported by @MieszkoP)
  • Error for invalid initialization of string reference fields
  • Syntax highlighting for Sublime Text (#89 implemented by @nlapinski)

fut 3.2.6

12 Aug 16:54
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.6-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.6-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.6-1.x86_64.rpm

Changes since 3.2.5:

  • float overloads of Math methods (#172)
  • native can be used inside classes (#168)
  • Restored indented preprocessor directives that stopped working in 3.2.0 (#165)
  • Integer Math.Min/Max/Clamp in C
  • Fixed compound assignments in JavaScript where one side is long
  • Hover info in Visual Studio Code

fut 3.2.5

27 Jun 19:33
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.5-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.5-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.5-1.x86_64.rpm

Changes since 3.2.4:

  • Unique dynamic references transpiled to C++ std::unique_ptr
  • Unique dynamic array references transpiled to C malloc/free with no reference counting
  • Improved error checking for base
  • Improved local const array names in C#
  • The Visual Studio extension is now signed

fut 3.2.4

23 May 17:59
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.4-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.4-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.4-1.x86_64.rpm

Changes since 3.2.3:

  • Visual Studio 2022/2019/2017 extension with syntax highlighting
  • MSVC++ compatibility for number TryParse (#160 by @iAndyHD3)
  • Fixed skipping interpolated strings in conditional compilation (#162)
  • const arrays of same name are now allowed within a method
  • More precise error locations
  • Improved syntax highlighting in Visual Studio Code

fut 3.2.3

25 Apr 08:16
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.3-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.3-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.3-1.x86_64.rpm

Changes since 3.2.2:

  • Syntax highlighting in Vim
  • Go to / Peek / Find all Implementations / References in Visual Studio Code
  • Fixed foreach (C objectReference in listOfObjectStorage) in C
  • Improved syntax checking

fut 3.2.2

04 Apr 08:49
Compare
Choose a tag to compare

How to install:

  • Windows: download and run fut-3.2.2-win64.msi
  • macOS: brew install fusionlanguage/fut/fut
  • Ubuntu 22.04+: download and install fut_3.2.2-1_amd64.deb
  • Fedora 38+: download and install fut-3.2.2-1.x86_64.rpm

Changes in the Visual Studio Code extension since 3.2.1:

  • Fixed errors reported in non-Fusion files
  • Outline
  • Snippets
  • Highlighting is and resource
  • More precise error locations