summaryrefslogtreecommitdiffstats
path: root/yaml/neo_import.py
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-29 20:57:24 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-29 20:57:24 +0000
commitf59db1b5cfad15b116e71f4e31ab6095ff4b06f4 (patch)
tree0295300e9190cdff7bee9c670c8bdb99e05c189c /yaml/neo_import.py
parent881ad586c476495d38836780cc0c1c18f742f545 (diff)
völlige neuüberarbeitung des yaml-Referenzparsers
git-svn-id: https://svn.neo-layout.org@1560 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'yaml/neo_import.py')
-rw-r--r--yaml/neo_import.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/yaml/neo_import.py b/yaml/neo_import.py
new file mode 100644
index 0000000..3a08cc9
--- /dev/null
+++ b/yaml/neo_import.py
@@ -0,0 +1,27 @@
+#===============================================================================
+# Imports:
+#===============================================================================
+#===============================================================================
+# define box drawings:
+# index bits: (0) left (1) down (2) right (3) up
+#===============================================================================
+
+box_drawings = None, None, None, '\u2510', \
+ None, '\u2500', '\u250C', '\u252C', \
+ None, '\u2518', '\u2502', '\u2524', \
+ '\u2514', '\u2534', '\u251C', '\u253C'
+
+#===============================================================================
+# Defaults:
+#===============================================================================
+
+reference_directory = '../A-REFERENZ-A/'
+file_name_append_start = 'neo20-'
+file_name_append_end = '.txt'
+file_name_standard_extension = file_name_append_end
+
+# synchronize with program!
+file_extensions_mapping = {('model_file', 'm'):('.model','model'),
+ ('hex_model_file', 'x'):('.hex', 'hex_model'),
+ ('index_sorted_file', 'i'):('.index', 'index'),
+ ('view_file', 'v'):('.view', 'view')}