Skip to content

Commit

Permalink
Add Julia code examples (code-golf#324)
Browse files Browse the repository at this point in the history
* add julia examples

* add \n

* 1:10 -> 0:9
  • Loading branch information
alemelis authored Oct 27, 2020
1 parent 0606e4a commit 3d5945c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions langs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,20 @@ for (let arg of arguments)
size = '284 MiB'
version = '1.5.2'
website = '//julialang.org'
example = '''
# Printing
println("Hello, World!")
# Looping
for i=0:9
println(i)
end
# Accessing arguments
for arg in ARGS
println(arg)
end
'''

[Lisp]
size = '35.4 MiB'
Expand Down

0 comments on commit 3d5945c

Please sign in to comment.