mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-06-09 08:29:32 +00:00
restored full 'robotwar' name everywhere, instead of 'rw'
This commit is contained in:
parent
f8c8d38ff2
commit
9bfa7c213e
|
@ -4,4 +4,4 @@
|
|||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[org.clojure/clojure "1.5.1"]]
|
||||
:main rw.core)
|
||||
:main robotwar.core)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(ns rw.core
|
||||
(:require (rw [create :as create]
|
||||
[exec :as exec])))
|
||||
(ns robotwar.core
|
||||
(:require (robotwar [create :as create]
|
||||
[exec :as exec])))
|
||||
|
||||
(def robot-source-code-test "WAIT GOTO WAIT")
|
||||
(def robot-program-test (create/compile robot-source-code-test))
|
|
@ -1,7 +1,7 @@
|
|||
(ns rw.create
|
||||
(ns robotwar.create
|
||||
(:refer-clojure :exclude [compile])
|
||||
(:use [clojure.string :only [split join]]
|
||||
[rw.lexicon :only [registers op-commands commands]]))
|
||||
[robotwar.lexicon :only [registers op-commands commands]]))
|
||||
|
||||
(defn re-seq-with-pos
|
||||
"Returns a lazy sequence of successive matches of pattern in string with position.
|
|
@ -1,5 +1,5 @@
|
|||
(ns rw.exec
|
||||
(:require (rw [lexicon :as lexicon])))
|
||||
(ns robotwar.exec
|
||||
(:require (robotwar [lexicon :as lexicon])))
|
||||
|
||||
(def op-map (zipmap lexicon/op-commands
|
||||
(map (fn [op]
|
|
@ -1,4 +1,4 @@
|
|||
(ns rw.lexicon)
|
||||
(ns robotwar.lexicon)
|
||||
|
||||
(def registers [ "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M"
|
||||
"N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"
|
|
@ -1,6 +1,6 @@
|
|||
(ns rw.core-test
|
||||
(ns robotwar.core-test
|
||||
(:require [clojure.test :refer :all]
|
||||
[rw.core :refer :all]))
|
||||
[robotwar.core :refer :all]))
|
||||
|
||||
(def line1 "IF DAMAGE # D GOTO MOVE ; comment or something")
|
||||
|
Loading…
Reference in New Issue
Block a user