From 59bcf5a08895e8a9807701bfb63e89157a16c39b Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Sun, 3 Apr 2016 12:25:55 +1200 Subject: [PATCH] Meaningless changes. --- .travis.yml | 2 +- README.md | 1 - appveyor.yml | 34 ---------------------------------- src/FORTH.jl | 5 ----- src/forth.jl | 24 ++++++++++++++++++++++++ test/runtests.jl | 2 +- 6 files changed, 26 insertions(+), 42 deletions(-) delete mode 100644 README.md delete mode 100644 appveyor.yml delete mode 100644 src/FORTH.jl create mode 100644 src/forth.jl diff --git a/.travis.yml b/.travis.yml index 4e0e6f3..240c799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ notifications: # uncomment the following lines to override the default test script #script: # - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia -e 'Pkg.clone(pwd()); Pkg.build("FORTH"); Pkg.test("FORTH"; coverage=true)' +# - julia -e 'Pkg.clone(pwd()); Pkg.build("forth"); Pkg.test("FORTH"; coverage=true)' diff --git a/README.md b/README.md deleted file mode 100644 index 3d34305..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# FORTH diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 5482b02..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,34 +0,0 @@ -environment: - matrix: - - JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe" - - JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe" - - JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe" - - JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe" - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: -# Download most recent Julia Windows binary - - ps: (new-object net.webclient).DownloadFile( - $("http://s3.amazonaws.com/"+$env:JULIAVERSION), - "C:\projects\julia-binary.exe") -# Run installer silently, output to C:\projects\julia - - C:\projects\julia-binary.exe /S /D=C:\projects\julia - -build_script: -# Need to convert from shallow to complete for Pkg.clone to work - - IF EXIST .git\shallow (git fetch --unshallow) - - C:\projects\julia\bin\julia -e "versioninfo(); - Pkg.clone(pwd(), \"FORTH\"); Pkg.build(\"FORTH\")" - -test_script: - - C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"FORTH\")" diff --git a/src/FORTH.jl b/src/FORTH.jl deleted file mode 100644 index 0e1475e..0000000 --- a/src/FORTH.jl +++ /dev/null @@ -1,5 +0,0 @@ -module FORTH - -# package code goes here - -end # module diff --git a/src/forth.jl b/src/forth.jl new file mode 100644 index 0000000..e720c7f --- /dev/null +++ b/src/forth.jl @@ -0,0 +1,24 @@ +module FORTH + +function input(prompt::AbstractString="") + print(prompt) + strip(readline) +end + +dictCore = Set{AbstractString}([ + "bye" +]) + +function coreEval(word::AbstractString) + if word == "bye" +end + +function repl() + + while true + line = input() + + end +end + +end diff --git a/test/runtests.jl b/test/runtests.jl index d00cbba..60b6fa1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using FORTH +using forth using Base.Test # write your own tests here -- 2.20.1