Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,6 @@
julia> str = "Hello, world.\n"
"Hello, world.\n"
julia> """Contains "quote" characters and
a newline"""
"Contains \"quote\" characters and \na newline"

View file

@ -0,0 +1,5 @@
julia> str = """
Hello,
world.
"""
" Hello,\n world.\n"

View file

@ -0,0 +1,2 @@
julia> "$greet, $whom.\n"
"Hello, world.\n"

View file

@ -0,0 +1,2 @@
julia> "1 + 2 = $(1 + 2)"
"1 + 2 = 3"

View file

@ -0,0 +1,2 @@
julia> 'π'
'π': Unicode U+03C0 (category Ll: Letter, lowercase)

View file

@ -0,0 +1,8 @@
julia> mycommand = `echo hello`
`echo hello`
julia> typeof(mycommand)
Cmd
julia> run(mycommand);
hello

View file

@ -0,0 +1,23 @@
julia> a = :+
:+
julia> typeof(a)
Symbol
julia> b = quote + end
quote
#= REPL[3]:1 =#
+
end
julia> typeof(b)
Expr
julia> eval(a) == eval(b)
true
julia> c = :(2 + 3)
:(2 + 3)
julia> eval(c)
5