Verup, new stdlib dir discovery
All checks were successful
Sophia Tests / tests (push) Successful in 48m12s
All checks were successful
Sophia Tests / tests (push) Successful in 48m12s
This commit is contained in:
parent
a7ca22c209
commit
d9f0f95bf7
@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
### Removed
|
||||
|
||||
## [9.0.0]
|
||||
### Changed
|
||||
- stdlib dir discovery now works by finding a relative path from the loaded Sophia installation
|
||||
###Removed
|
||||
- Oracles
|
||||
|
||||
## [8.0.1]
|
||||
### Changed
|
||||
- Upgrade aebytecode to v3.4.1 to fix C warnings
|
||||
|
@ -15,7 +15,7 @@
|
||||
{base_plt_apps, [erts, kernel, stdlib, crypto, mnesia]}
|
||||
]}.
|
||||
|
||||
{relx, [{release, {sophia, "8.0.1"},
|
||||
{relx, [{release, {sophia, "9.0.0"},
|
||||
[sophia, gmbytecode]},
|
||||
|
||||
{dev_mode, true},
|
||||
|
@ -8,6 +8,7 @@
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-module(so_aci).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([ file/2
|
||||
, file/3
|
||||
|
@ -1,4 +1,5 @@
|
||||
-module(so_ast).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([int/2,
|
||||
line/1,
|
||||
|
@ -12,6 +12,7 @@
|
||||
%%% instances of the compiler to be run in parallel.
|
||||
|
||||
-module(so_ast_infer_types).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([ infer/1
|
||||
, infer/2
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_ast_to_fcode).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([ast_to_fcode/2, format_fexpr/1]).
|
||||
-export_type([fcode/0, fexpr/0, fun_def/0]).
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_compiler).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([ file/1
|
||||
, file/2
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-module(so_errors).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-type src_file() :: no_file | iolist().
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_fcode_to_fate).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([compile/3, compile/4, term_to_fate/1, term_to_fate/2]).
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_parse_lib).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([parse/2,
|
||||
return/1, fail/0, fail/1, fail/2, map/2, bind/2,
|
||||
|
@ -3,6 +3,7 @@
|
||||
%%% Description :
|
||||
%%% Created : 1 Mar 2018 by Ulf Norell
|
||||
-module(so_parser).
|
||||
-vsn("9.0.0").
|
||||
-compile({no_auto_import,[map_get/2]}).
|
||||
|
||||
-export([string/1,
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_pretty).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-import(prettypr, [text/1, sep/1, above/2, beside/2, nest/2, empty/0]).
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_scan).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([scan/1, utf8_encode/1]).
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_scan_lib).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([compile/1, string/3,
|
||||
token/1, token/2, symbol/0, skip/0,
|
||||
|
@ -8,9 +8,11 @@
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-module(so_stdlib).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([stdlib_include_path/0]).
|
||||
|
||||
stdlib_include_path() ->
|
||||
filename:join([code:priv_dir(sophia), "stdlib"]).
|
||||
{file, BEAM} = code:is_loaded(?MODULE),
|
||||
filename:join(filename:dirname(filename:dirname(BEAM)), "priv/stdlib").
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-module(so_syntax).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([get_ann/1, get_ann/2, get_ann/3, set_ann/2, qualify/2]).
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_syntax_utils).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([used_ids/1, used_ids/2, used_types/2, used/1]).
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
%%% @end
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(so_utils).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([scc/1, canonical_dir/1]).
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-module(so_vm_decode).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-export([ from_fate/2 ]).
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
-module(so_warnings).
|
||||
-vsn("9.0.0").
|
||||
|
||||
-record(warn, { pos :: so_errors:pos()
|
||||
, message :: iolist()
|
||||
|
@ -1,6 +1,6 @@
|
||||
{application, sophia,
|
||||
[{description, "Compiler for Sophia language"},
|
||||
{vsn, "8.0.1"},
|
||||
{vsn, "9.0.0"},
|
||||
{registered, []},
|
||||
{applications,
|
||||
[kernel,
|
||||
|
@ -4,7 +4,7 @@
|
||||
{prefix,none}.
|
||||
{desc,"The Sophia smart contract language for the FATE VM"}.
|
||||
{author,"QPQ AG"}.
|
||||
{package_id,{"otpr","sophia",{8,0,1}}}.
|
||||
{package_id,{"otpr","sophia",{9,0,0}}}.
|
||||
{deps,[{"otpr","gmbytecode",{3,4,1}},
|
||||
{"otpr","getopt",{1,0,2}},
|
||||
{"otpr","eblake2",{1,0,0}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user