Skip to content

Commit

Permalink
[cw] add examples for hello wurld and start function example
Browse files Browse the repository at this point in the history
  • Loading branch information
connorwalsh committed Mar 11, 2018
1 parent 22dd363 commit 458d041
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/functions.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
slashslash functions.doc is a basic outline of how to define and call functions in dockerlang

(❦ )

8 changes: 8 additions & 0 deletions examples/hello.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
slashslash hello.doc is a basic hellow world program written in dockerlang
slashslash this is a comment (sorry no multiline ¯\_(ツ)_/¯)

slashslash print to stdout nothing fancy
(#! "hell wurld")

slashslash print to stdout with string formatting
(#! (#"hello %s" "connor"))

0 comments on commit 458d041

Please sign in to comment.