the programmer's programmable programming languageatomo is a small, simple, insanely flexible and expressive programming language. its design is inspired by Scheme (small, simple core), Slate (multiple dispatch, keywords), Ruby (very DSL-friendly), and Erlang (message-passing concurrency). it is written in and piggybacks on the Haskell runtime, permitting access to all of its power (and libraries!) through a thin layer. Examples:Greeter = Object clone
Greeter new: n :=
Greeter clone do: {
name = n
}(g: Greeter) say-hi :=
(g name .. ": Hi!") print(Greeter new: "Alex") say-hi
with-output-to: "out-file" do: {
"Hello, world!" print
}Read more: atomo
Greeter new: n :=
Greeter clone do: {
name = n
}(g: Greeter) say-hi :=
(g name .. ": Hi!") print(Greeter new: "Alex") say-hi
with-output-to: "out-file" do: {
"Hello, world!" print
}Read more: atomo
0 comments:
Post a Comment