Fix Sophia stdlib path resolution.
This commit is contained in:
parent
fc2731fbbb
commit
f11697da1a
@ -8,7 +8,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
|
|
||||||
-module(aeso_aci).
|
-module(aeso_aci).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([ file/2
|
-export([ file/2
|
||||||
, file/3
|
, file/3
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-module(aeso_ast).
|
-module(aeso_ast).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([int/2,
|
-export([int/2,
|
||||||
line/1,
|
line/1,
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
%%% instances of the compiler to be run in parallel.
|
%%% instances of the compiler to be run in parallel.
|
||||||
|
|
||||||
-module(aeso_ast_infer_types).
|
-module(aeso_ast_infer_types).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([ infer/1
|
-export([ infer/1
|
||||||
, infer/2
|
, infer/2
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
%%%
|
%%%
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_ast_to_fcode).
|
-module(aeso_ast_to_fcode).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([ast_to_fcode/2, format_fexpr/1]).
|
-export([ast_to_fcode/2, format_fexpr/1]).
|
||||||
-export_type([fcode/0, fexpr/0, fun_def/0]).
|
-export_type([fcode/0, fexpr/0, fun_def/0]).
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
%%% Created : 12 Dec 2017
|
%%% Created : 12 Dec 2017
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_compiler).
|
-module(aeso_compiler).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([ file/1
|
-export([ file/1
|
||||||
, file/2
|
, file/2
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
|
|
||||||
-module(aeso_errors).
|
-module(aeso_errors).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-type src_file() :: no_file | iolist().
|
-type src_file() :: no_file | iolist().
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
%%%
|
%%%
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_fcode_to_fate).
|
-module(aeso_fcode_to_fate).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([compile/3, compile/4, term_to_fate/1, term_to_fate/2]).
|
-export([compile/3, compile/4, term_to_fate/1, term_to_fate/2]).
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_parse_lib).
|
-module(aeso_parse_lib).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([parse/2,
|
-export([parse/2,
|
||||||
return/1, fail/0, fail/1, fail/2, map/2, bind/2,
|
return/1, fail/0, fail/1, fail/2, map/2, bind/2,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
%%% Description :
|
%%% Description :
|
||||||
%%% Created : 1 Mar 2018 by Ulf Norell
|
%%% Created : 1 Mar 2018 by Ulf Norell
|
||||||
-module(aeso_parser).
|
-module(aeso_parser).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
-compile({no_auto_import,[map_get/2]}).
|
-compile({no_auto_import,[map_get/2]}).
|
||||||
|
|
||||||
-export([string/1,
|
-export([string/1,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_pretty).
|
-module(aeso_pretty).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-import(prettypr, [text/1, sep/1, above/2, beside/2, nest/2, empty/0]).
|
-import(prettypr, [text/1, sep/1, above/2, beside/2, nest/2, empty/0]).
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_scan).
|
-module(aeso_scan).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([scan/1, utf8_encode/1]).
|
-export([scan/1, utf8_encode/1]).
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_scan_lib).
|
-module(aeso_scan_lib).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([compile/1, string/3,
|
-export([compile/1, string/3,
|
||||||
token/1, token/2, symbol/0, skip/0,
|
token/1, token/2, symbol/0, skip/0,
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
|
|
||||||
-module(aeso_stdlib).
|
-module(aeso_stdlib).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([stdlib_include_path/0]).
|
-export([stdlib_include_path/0]).
|
||||||
|
|
||||||
stdlib_include_path() ->
|
stdlib_include_path() ->
|
||||||
filename:join([code:priv_dir(aesophia), "stdlib"]).
|
{file, Path} = code:is_loaded(?MODULE),
|
||||||
|
filename:join(filename:dirname(filename:dirname(Path)), "priv/stdlib").
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
|
|
||||||
-module(aeso_syntax).
|
-module(aeso_syntax).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([get_ann/1, get_ann/2, get_ann/3, set_ann/2, qualify/2]).
|
-export([get_ann/1, get_ann/2, get_ann/3, set_ann/2, qualify/2]).
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_syntax_utils).
|
-module(aeso_syntax_utils).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([used_ids/1, used_types/2, used/1]).
|
-export([used_ids/1, used_types/2, used/1]).
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(aeso_utils).
|
-module(aeso_utils).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([scc/1]).
|
-export([scc/1]).
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
|
|
||||||
-module(aeso_vm_decode).
|
-module(aeso_vm_decode).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-export([ from_fate/2 ]).
|
-export([ from_fate/2 ]).
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-module(aeso_warnings).
|
-module(aeso_warnings).
|
||||||
-vsn("7.1.1").
|
-vsn("7.1.2").
|
||||||
|
|
||||||
-record(warn, { pos :: aeso_errors:pos()
|
-record(warn, { pos :: aeso_errors:pos()
|
||||||
, message :: iolist()
|
, message :: iolist()
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{author,"Aeternity Foundation"}.
|
{author,"Aeternity Foundation"}.
|
||||||
{c_email,[]}.
|
{c_email,[]}.
|
||||||
{copyright,"Aeternity Foundation"}.
|
{copyright,"Aeternity Foundation"}.
|
||||||
{deps,[{"otpr","aebytecode",{3,2,0}},
|
{deps,[{"otpr","aebytecode",{3,2,1}},
|
||||||
{"otpr","getopt",{1,0,2}},
|
{"otpr","getopt",{1,0,2}},
|
||||||
{"otpr","eblake2",{1,0,0}},
|
{"otpr","eblake2",{1,0,0}},
|
||||||
{"otpr","zj",{1,1,0}}]}.
|
{"otpr","zj",{1,1,0}}]}.
|
||||||
@ -12,7 +12,7 @@
|
|||||||
{license,skip}.
|
{license,skip}.
|
||||||
{modules,[]}.
|
{modules,[]}.
|
||||||
{name,"AE Sophia Compiler"}.
|
{name,"AE Sophia Compiler"}.
|
||||||
{package_id,{"otpr","aesophia",{7,1,1}}}.
|
{package_id,{"otpr","aesophia",{7,1,2}}}.
|
||||||
{prefix,none}.
|
{prefix,none}.
|
||||||
{repo_url,"https://github.com/aeternity/aesophia"}.
|
{repo_url,"https://github.com/aeternity/aesophia"}.
|
||||||
{tags,["aeternity","blockchain","sophia","crypto","ae","compiler"]}.
|
{tags,["aeternity","blockchain","sophia","crypto","ae","compiler"]}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user