Releases: joaovitorsilvestre/fython
v0.6.0
Changelog:
- [Fython] Just improving the way we do bootstrap. Now using docker to do it.
v0.5.2
Changelog:
- [Fython] Fix conversion of try catch to elixir
v0.5.1
Changelog:
- [Fython] Makefile with common commands
- [Fython] Impoves of shell
v0.5.0
Changelog:
- [Fython] Support for unpack and spread.
v0.4.0
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
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
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
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
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
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").