Download Jar. Uses 36155K of libraries. Click here for Pure Java version (5954L/42K).
1 | !7 |
2 | |
3 | lib 1400166 // jython 2.7 |
4 | |
5 | import org.python.core.*; |
6 | import org.python.util.*; |
7 | |
8 | p-exp { |
9 | time "Make Interpreter" { |
10 | PythonInterpreter.initialize(new Properties, litprop("python.path" := f2s(userDir("dev/AIRIS_Public-master"))), new S[0]); |
11 | new PythonInterpreter py; |
12 | } |
13 | time "Test Interpreter" { |
14 | assertEqualsVerbose("3", str(py.eval("1+2"))); |
15 | } |
16 | print("System state: " + py.getSystemState()); |
17 | py.exec(linesLL( |
18 | "from constants import *", |
19 | "from airis_jython import AIRIS" |
20 | )); |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021053 |
Snippet name: | AIRIS Test [loads AIRIS, no actual test yet] |
Eternal ID of this version: | #1021053/17 |
Text MD5: | 6e450bcd363210032db077ab6bf2ca3b |
Transpilation MD5: | d5d06a804aba4b37b9a6a82ff2180374 |
Author: | stefan |
Category: | javax / a.i. / airis |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-02 16:14:57 |
Source code size: | 527 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 404 / 1070 |
Version history: | 16 change(s) |
Referenced in: | [show references] |