Skip to content

Instantly share code, notes, and snippets.

@nkpro2000sr
Created February 16, 2020 17:59
Show Gist options
  • Save nkpro2000sr/43baa6a7e26db6cabc1c977189f02db3 to your computer and use it in GitHub Desktop.
Save nkpro2000sr/43baa6a7e26db6cabc1c977189f02db3 to your computer and use it in GitHub Desktop.
#nkpro REPLinJulia
println("Julia-v 1.0.0")
while true
print("\n>")
expr = readline()
if expr == "exit"
break
end
eval(Meta.parse(expr))
end
#= Equivalent code in python3
while True :
expr = input("\n>")
if expr == "exit" :
break
exec(expr)
=#
@nkpro2000sr
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment