Skip to content

Commit 67e4304

Browse files
committed
update Dyalog interface
1 parent 19c96b3 commit 67e4304

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.gitignore

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1+
APL.jar
12
out
23
src/build
4+
35
.idea
4-
APL.jar
56
APL.iml
7+
.history
8+
9+
610
app/APL/src/
711
app/build/
812
app/APLApp/android/
913
APLP5/code/APL8.jar
1014
app/APLApp/code/APL8\.jar
11-
1215
AndroidIDE/code/APL8\.jar
13-
1416
AndroidIDE/data/temp/
15-
1617
AndroidIDE/android/
1718
app/err
18-
1919
*.apk
20-
2120
AndroidIDE/build/
21+
22+

AndroidIDE/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="5" android:versionName="0.1.8" package="dzaima.aplide">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="5" android:versionName="0.1.9" package="dzaima.aplide">
33
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="28"/>
44
<application android:icon="@mipmap/ic_launcher" android:label="">
55
<activity android:name=".MainActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">

AndroidIDE/readme.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
By default, this interprets dzaima/APL, but to connect to Dyalog APL (through JSONServer), in Dyalog do:
66

77
```apl
8-
)LOAD path/to/JSONServer/Distribution/JSONServer.dws
9-
S←⊃JSONServer.Run ⍬
10-
eval←{⎕←' ',⍵ ⋄ 0::{⎕←↑⎕DM⋄⎕DM}⍬ ⋄ ,↓⎕←⍕⍎⍵}
8+
)LOAD path/to/Jarvis/Distribution/Jarvis.dws ⍝ https://github.com/Dyalog/Jarvis/blob/master/Distribution/Jarvis.dws
9+
eval←{⎕←' ',⍵ ⋄ 0::{⎕←↑⎕DM⋄⎕DM}⍬ ⋄ ,↓⎕←⍕⍎⍵}
10+
S←⊃Jarvis.Run 1234 # ⍝ replace 1234 with whatever port you want
1111
```
1212

1313
and to connect to it in the app:
1414

1515
```apl
1616
:i dyalog
17-
⍝ and, optionally, if JSONServer wasn't started on localhost with port 8080,
18-
)ip:port
17+
)ip:1234 ⍝ or whatever port you set
1918
```
2019

2120

AndroidIDE/stuff.pde

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class StrOS extends OutputStream {
222222
synchronized(bs) {
223223
String res = new String(Arrays.copyOf(bs.arr, bs.used));
224224
bs.clear();
225-
return res;
225+
return res.replace("(HTTPLog)-Static: isSBSettingEnabled false\n", "");
226226
}
227227
}
228228
void close() {

REPL

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
rlwrap java -ea -jar APL.jar "$@" -r
2+
rlwrap -s99999 -H.history java -ea -jar APL.jar "$@" -r

0 commit comments

Comments
 (0)