aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/common.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-11-14 01:24:03 -0400
committerEduardo Julian2017-11-14 01:24:03 -0400
commit4a43c41d139dfed45a8ed9b2308cf97fd6f3a59a (patch)
tree44d46a76e93a7cb7299e1faaeba3c9547f0f9372 /new-luxc/source/luxc/lang/translation/common.jvm.lux
parent290c2389bc762dfaf625d72a76a675ce15119985 (diff)
- Added hashing to avoid collisions in case-insensitive file-systems.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/common.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/common.jvm.lux7
1 files changed, 4 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/common.jvm.lux b/new-luxc/source/luxc/lang/translation/common.jvm.lux
index baafc233a..4ec487d86 100644
--- a/new-luxc/source/luxc/lang/translation/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/common.jvm.lux
@@ -8,7 +8,8 @@
text/format
(coll [dict #+ Dict]))
[host]
- (world [blob #+ Blob]))
+ (world [blob #+ Blob]
+ [file #+ File]))
(luxc (lang [";L" variable #+ Register])
(host ["$" jvm]
(jvm ["$t" type]
@@ -27,11 +28,11 @@
(host;import java.lang.ClassLoader
(loadClass [String] (Class Object)))
-(type: #export Bytecode (host;type (Array byte)))
+(type: #export Bytecode Blob)
(type: #export Class-Store (A;Atom (Dict Text Bytecode)))
-(type: #export Artifacts (Dict Text Blob))
+(type: #export Artifacts (Dict File Blob))
(type: #export Host
{#loader ClassLoader