aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/language/compiler/extension/translation.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/language/compiler/extension/translation.lux')
-rw-r--r--stdlib/source/lux/language/compiler/extension/translation.lux9
1 files changed, 9 insertions, 0 deletions
diff --git a/stdlib/source/lux/language/compiler/extension/translation.lux b/stdlib/source/lux/language/compiler/extension/translation.lux
new file mode 100644
index 000000000..ae05fd61c
--- /dev/null
+++ b/stdlib/source/lux/language/compiler/extension/translation.lux
@@ -0,0 +1,9 @@
+(.module:
+ lux
+ (lux (data [text]
+ (collection ["dict" dictionary #+ Dictionary])))
+ [//])
+
+(def: #export defaults
+ (Dictionary Text //.Translation)
+ (dict.new text.Hash<Text>))