Skip to content

Releases: joaovitorsilvestre/fython

v0.6.0

09 Nov 22:39
6564a20
Compare
Choose a tag to compare

Changelog:

  • [Fython] Just improving the way we do bootstrap. Now using docker to do it.

v0.5.2

27 Oct 21:46
Compare
Choose a tag to compare

Changelog:

  • [Fython] Fix conversion of try catch to elixir

v0.5.1

25 Oct 15:44
Compare
Choose a tag to compare

Changelog:

  • [Fython] Makefile with common commands
  • [Fython] Impoves of shell

v0.5.0

12 Jul 21:25
2f546a7
Compare
Choose a tag to compare

Changelog:

  • [Fython] Support for unpack and spread.

v0.4.0

03 Jun 02:20
ff6e8e0
Compare
Choose a tag to compare

Changelog:

  • [Fython] Support for pattern mathing inside function params:
def divide(:ok, {"a": a}, "b", :ok, (1, 2), [:list]):
    :ok

And a new token type LARROW was created to allow get full pattern matched param:

def divide(a <- {"meumap": :oii}):
    a

v0.3.0

02 Jun 21:31
fe394c6
Compare
Choose a tag to compare

Changelog:

  • [Fy] a basic dependency installer. It uses a requirements.txt with a github release link for each module to be installed
  • [FyDoc] Refac in the format of docs.json and some visual changes.
  • [Fython] Fix in parallel lexer that didn't support tokens that are multiline

To compile a module

application:start(compiler).   
application:start(elixir).
'Fython.Core.Generator.Compiler':compile_project("/home/joao/fython/src").

v0.2.0

27 May 03:14
dac8542
Compare
Choose a tag to compare

Features:

  • Try except and finally
  • All ast nodes have the line and the filename in the metadata. It allows us to have a stacktrace for the real fython file line and file.
  • Support for defining atoms using single and double quotes: :"->"

To compile a module

application:start(compiler).   
application:start(elixir).
'Fython.Core.Generator.Compiler':compile_project("/home/joao/fython/src").

v0.1.2

23 May 20:10
dd4795e
Compare
Choose a tag to compare

Created a script to do the bootstrap.

Added a new function to compile only one module. It make possible a bootstrap without any module being redefined . It was necessary because elixir evaluates the compiled code.

To compile a module

application:start(compiler).   
application:start(elixir).
'Fython.Core.Generator.Compiler':compile_project("/home/joao/fython/src").

v0.1.2-alpha

21 May 23:08
5d2449b
Compare
Choose a tag to compare
v0.1.2-alpha Pre-release
Pre-release

Pré bootstrap.

The next step is to find a way to compiler compile withou ever evaluate the code.
It create a lot of problems when doing a bootstrap.

v0.1.1

21 May 03:11
Compare
Choose a tag to compare

Elixir: 1.9.4 (Compiled with Erlang 22)
Erlang: 22

Renamed Fcore to Core. The last release fixed to fython modules names dont conflict with elixir's. So now we can use Core as well.
Now, all modules compiled in fython will have the prefix Fython. Elixir does that, and we will follow that pattern.

To compile

application:start(compiler).   
application:start(elixir).
'Fython.Core.Generator.Compiler':compile_project("/home/joao/fython/src").