DEADSOFTWARE

RTL перенесена в отдельную директорию
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 18 Aug 2017 20:20:25 +0000 (23:20 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 18 Aug 2017 20:20:25 +0000 (23:20 +0300)
count.sh
notes
obn-compile.sh
rtl/Strings.obn [moved from Strings.obn with 100% similarity]
rtl/java/Files.java [moved from rtl/Files.java with 100% similarity]
rtl/java/Files.obn [moved from Files.obn with 100% similarity]
rtl/java/Launcher.java [moved from rtl/Launcher.java with 100% similarity]
rtl/java/Out.java [moved from rtl/Out.java with 100% similarity]
rtl/java/Out.obn [moved from Out.obn with 100% similarity]
rtl/java/SYSTEM.java [moved from rtl/SYSTEM.java with 100% similarity]

index a07d82253e57e2ba65e88a30d5af2c5e536667d5..1e5db9d4cb6161501395c42576d05f640f69d145 100755 (executable)
--- a/count.sh
+++ b/count.sh
@@ -1,3 +1,16 @@
 #!/bin/sh
 
+echo Compiler Sources:
 wc -l $(find . -name '*.c' -or -name '*.h')
+
+echo
+echo Runtime Library:
+wc -l $(find rtl -name '*.java' -or -name '*.obn')
+
+echo
+echo Tests:
+wc -l $(find tests -name '*.obn')
+
+echo
+echo Total:
+wc -l $(find . -name '*.c' -or -name '*.h' -or -name '*.java' -or -name '*.obn') | grep total
diff --git a/notes b/notes
index 6c6cf6fbcef722eca42b59fd1c6f8e00f3024715..0fa3ba8caf13b9cb0c4c90fad00bebecd77c053f 100644 (file)
--- a/notes
+++ b/notes
@@ -2,10 +2,8 @@
 - Не полная реализация модуля Files 
     * Не реализована запись в файл
 
-- Нужна опция для задания списка директорий для поиска модулей.
-
 - Не полная реализация модуля Strings 
-    * Ð ÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ñ\8b Ñ\82олÑ\8cко Ð¿Ñ\80оÑ\86едÑ\83Ñ\80Ñ\8b Length Ð¸ Cap
+    * Ð\9dе Ñ\80еализованÑ\8b Ð¿Ñ\80оÑ\86едÑ\83Ñ\80Ñ\8b Insert Append Delete Replace Extract Pos
 - Сделать проверку повторов в CASE.
 - Сделать нормальную проверку наличия RETURN.
 
index 4ad5c3d6b261bc9f977b75efaf7957c00a217299..0ab4b702958017eca1500c06056856ce6ec34d16 100755 (executable)
@@ -5,10 +5,10 @@ set -e
 rm -rf classes tmp
 mkdir -p classes tmp
 
-./a.out -d tmp $*
+./a.out -d tmp -I rtl/java -I rtl $*
 
 jasmin -d classes tmp/*.j
 
-javac -d classes rtl/*.java
+javac -d classes rtl/java/*.java
 
 proguard -injars classes -libraryjars /usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar @proguard.conf
similarity index 100%
rename from Strings.obn
rename to rtl/Strings.obn
similarity index 100%
rename from rtl/Files.java
rename to rtl/java/Files.java
similarity index 100%
rename from Files.obn
rename to rtl/java/Files.obn
similarity index 100%
rename from rtl/Launcher.java
rename to rtl/java/Launcher.java
similarity index 100%
rename from rtl/Out.java
rename to rtl/java/Out.java
similarity index 100%
rename from Out.obn
rename to rtl/java/Out.obn
similarity index 100%
rename from rtl/SYSTEM.java
rename to rtl/java/SYSTEM.java