Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown for formatting #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 22 additions & 14 deletions README → README.markdown
Original file line number Diff line number Diff line change
@@ -1,30 +1,38 @@
# LFE (Lisp Flavored Erlang) Example Application

This is an example of how you can use LFE to code Erlang OTP applications.

## Background Information

Read more about LFE @
* http://github.com/rvirding/lfe
* http://groups.google.com/group/lisp-flavoured-erlang
and Erlang / OTP @
* http://www.erlang.org/doc

Example Usage:

$ ./rebar compile
$ erl -pa ebin
Eshell V5.7.3 (abort with ^G)
1> application:start(ping_pong).
ok
2> ping_pong:ping().
{pong,1}
3> ping_pong:ping().
{pong,2}
4> ping_pong:ping().
{pong,3}
6> q().
## Example Usage

This example assumes that you have installed LFE globally.

$ ./rebar compile
$ erl -pa ebin
Eshell V5.7.3 (abort with ^G)
1> application:start(ping_pong).
ok
2> ping_pong:ping().
{pong,1}
3> ping_pong:ping().
{pong,2}
4> ping_pong:ping().
{pong,3}
6> q().

As you can see it's not much - just a couple hours hacking, but it proves it
works and you don't have to code in erlang syntax to get erlang vm awesome
sauce.

## License

Copyright (c) Tim Dysinger tim <[<-on->]> dysinger.net

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down