Created
February 16, 2020 17:59
-
-
Save nkpro2000sr/43baa6a7e26db6cabc1c977189f02db3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) | |
=# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try_This_example