Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Programming language with C-like syntax that runs on the Erlang platform
branch: master
Failed to load latest commit information.
include add initial type attribute parser
src add initial type attribute parser
test replace === for is and !== for isnt
.gitignore ignore .eunit folder
LICENSE add license
Makefile rename project
README.rst add more details to quickstart
erlang.mk update erlang.mk
fn.sh boom!

README.rst

efene

it's alive!

Quick Start

efene integrates with rebar3 so we will start with that.

first download the app template for a basic efene app, you must do this only once:

mkdir -p ~/.rebar3/templates && git clone https://github.com/efene/rebar3_efene_app_template.git ~/.rebar3/templates/ && rm -rf ~/.rebar3/templates/.git

then create a folder for your app, change myapp for the name of your app:

mkdir myapp
cd myapp
wget https://s3.amazonaws.com/rebar3/rebar3
chmod u+x rebar3
./rebar3 new fn_app name=myapp

now compile your code:

./rebar3 efene

you can now play with it, for now we will use the erlang shell:

./rebar3 shell

and call our function:

1> myapp:hello("World").
Hello World!ok

note: the ok after hello world is the value returned by the hello function.

now every time you do a change run:

./rebar3 efene

and it will recompile the changed files, it will also fetch deps and compile erlang modules in your project.

License

APL 2.0, see LICENSE file for details

Something went wrong with that request. Please try again.