File tree 3 files changed +23
-0
lines changed
3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ This ASCII representation is a cartoon mascot at [Cerner Engineering](http://eng
45
45
* [ dart] ( https://www.dartlang.org/ ) - [ art.dart] ( dart/art.dart ) (` dart art.dart ` )
46
46
* [ erlang] ( http://www.erlang.org/ ) - [ art.erl] ( erlang/art.erl ) (` erl -pa ./art.erl -run art print -run init stop -noshell ` )
47
47
* [ go] ( https://golang.org/ ) - [ art.go] ( go/art.go ) (` go run art.go ` )
48
+ * [ haxe] ( https://golang.org/ ) - [ Art.hx] ( haxe/Art.hx ) (` haxe -main Art --interp ` )
49
+ * [ julia] ( http://julialang.org/ ) - [ art.jl] ( julia/art.jl ) (` julia art.jl ` )
48
50
* [ lua] ( http://www.lua.org/ ) - [ art.lua] ( lua/art.lua ) (` lua art.lua ` )
49
51
* [ ocaml] ( https://ocaml.org ) - [ art.ml] ( ocaml/art.ml ) (` ocaml art.ml ` )
50
52
* [ node.js] ( http://nodejs.org/ ) - [ art.js] ( node/art.js ) (` node art.js ` )
Original file line number Diff line number Diff line change
1
+ import sys .io .File ;
2
+
3
+ // "2 to the 5th" programming competition @ engineering.cerner.com
4
+ //
5
+ // Read in the ASCII art file and simply print it to the console.
6
+ // Note: This assumes you are executing "haxe -main Art --interp"
7
+ // in the current working directory.
8
+ class Art {
9
+ static public function main (): Void {
10
+ neko. Lib .println (File .getContent (" ../art/alan.txt" ));
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ # "2 to the 5th" programming competition @ engineering.cerner.com
2
+ #
3
+ # Read in the ASCII art file and simply print it to the console.
4
+ # Note: This assumes you are executing "julia art.jl" in the current
5
+ # working directory. You may also start up the julia REPL and then
6
+ # execute:
7
+ # > include("art.jl")
8
+ #
9
+ write (STDOUT, readall (" ../art/alan.txt" ))
You can’t perform that action at this time.
0 commit comments