LFE comes with a powerful REPL, supporting interactive development (including writing macros!) as well as running scripts or even evaluating arbitrary LFE code via the command line. lfe> (== 42 #b101010) true lfe> (integer_to_list 42 2) "101010" lfe> #\a 97 lfe> "regular string" "regular string" lfe> #"binary string" #"binary string" Note that in LFE and Erlang a string is really just a list of in
This is a loose transcript (or long paraphrasing?) of a presentation given at ConnectDev'16, a conference organized by Genetec in which I was invited to speak. I assume most people here have never used Erlang, have possibly heard of it, maybe just the name. As such, this presentation will only cover the high level concepts of Erlang, in such a way that it may be useful to you in your work or side
yacc/lex のようなツールは、いろんなプログラミング環境向けにあります。Erlang にも yecc/leex と いうツールがありますので、今日はそれをちょっと使ってみるみたいな。それにしても e がくどいですね。 Step1: まずは構文解析 まずはHelloWorld 的な位置づけの、電卓を書いてみます。とりあえず構文のみ。 prs.yrl Nonterminals lines line expression term block. Terminals integer '(' ')' '+' '-' '*' '/' '~n'. Rootsymbol lines. lines -> line. lines -> lines line. line -> expression '~n'. expression -> term. expression -> expression '+'
In this case, This is not a Monad tutorial interviewed Eric Merritt, author of Erlang and OTP in Action, Joxa (a small semantically clean, functional lisp running on the Erlang VM), relx (best release creation tool in Erlang). In the following weeks we will be talking with Robert Virding — Erlang co-inventor and Lisp Flavored Erlang creator — , Brian McKenna —Roy language creator— and with MirageO
Erlang master classes These three Master Classes in Erlang will show you how Erlang can be used in practice to solve larger problems. We have chosen to give examples that provide 'capstones' for different aspects of Erlang: functional programming, concurrent programming and larger-scale programming with OTP. The master classes are presented by Joe Armstrong, Ericsson AB and KTH, Stockholm, and one
The other day I got a mail from Dean Galvin from Rowan University. Dean was doing an Erlang project so he asked “What example program would best exemplify Erlang”. He wanted a small program, that would be suitable for a ten minute talk that would best show off the language. I thought for a while … and quickly wrote my favorite program, it’s the “Universal server”. The Universal Server Normally ser
[erlang-questions] erlc speed (or lack thereof), Make and emake Matthias Lang matthias@REDACTED Thu Jan 24 13:49:48 CET 2013 Previous message (by thread): [erlang-questions] [go-nuts] Re: [ANN] Erlang distributed node in Go Next message (by thread): [erlang-questions] erlc speed (or lack thereof), Make and emake Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi, I'm looking for tip
All Elixir code runs inside lightweight threads of execution (called processes) that are isolated and exchange information via messages: current_process = self() # Spawn an Elixir process (not an operating system one!) spawn_link(fn -> send(current_process, {:msg, "hello world"}) end) # Block until the message is received receive do {:msg, contents} -> IO.puts(contents) end Due to their lightweigh
In the world of social gaming, the classic 2-tier of web application does not cut it anymore. We need new and better solutions. Follow along the evolution of game servers at Wooga and get an in-depth look into the next-generation backend putting the combined forces of Erlang and Ruby to work. Learn how scalability, reliability, concurrency control and beautiful code do not need to be mutually excl
How to set up and start 1. Clone or download source code to a local directory: git clone git://github.com/svahne/browserl cd browserl 2. Start a web server of your choice For instance, with inets you would start Erlang in the browserl base directory and then at the Erlang shell prompt do: inets:start(), inets:start(httpd, [{port, 3333}, {server_name,""}, {server_root,"."}, {document_root,"."}]). Y
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く