alpaca-lang / rebar_prv_alpaca Goto Github PK
View Code? Open in Web Editor NEWrebar3 plugin for compiling alpaca modules
License: Other
rebar3 plugin for compiling alpaca modules
License: Other
It would be really great if this were a hex package :) doing that is quite easy with rebar:
https://hex.pm/docs/rebar3_publish
I think the .app.src has even all needed fields
rebar.config
rebar3 alpaca shell
crash:
rebar3 alpaca shell
===> Verifying dependencies...
===> Compiling alptest
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]
*** ERROR: Shell process terminated! (^G to start new job) ***
2017-06-12 00:56:56 Error in process ~p with exit value:~n~p~n
<0.275.0>
{{badmatch,{error,[{alpaca_error_format,nofile},{alpaca_ast,nofile},{alpaca_compiled_po,nofile}]}},[{alpaca_shell,ensure_alpaca,0,[{file,"/Users/heinz/Projects/Other/alptest/_build/default/plugins/apcshell/src/alpaca_shell.erl"},{line,322}]},{alpaca_shell,server,0,[{file,"/Users/heinz/Projects/Other/alptest/_build/default/plugins/apcshell/src/alpaca_shell.erl"},{line,22}]}]}
compiling the following code:
module example
export add/2
let add x y = x + y
let run () = add 2 1.0
fails as the awesome statical typing tells me I can't add 2
and 1.0
the error is printed:
UNIFY FAIL: t_int AND t_float
LINE 7
Compile error: {cannot_unify,example,7,t_int,t_float}
However the shell still starts and doesn't fail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.