summaryrefslogtreecommitdiff
path: root/pysc-v/Frontend/lexer.py
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-04-10 19:38:40 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-04-10 19:38:40 +0200
commit6e3e5e6aaf1bc9b8f2d787fdf5f9bbd714776b5d (patch)
tree101e0425ac695b03a139ffaf9e54cf8f7581eb5a /pysc-v/Frontend/lexer.py
parentaf13bf2b02503c1af010a4ce3cef22e4efbc4dae (diff)
reorder everything
Diffstat (limited to 'pysc-v/Frontend/lexer.py')
-rw-r--r--pysc-v/Frontend/lexer.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pysc-v/Frontend/lexer.py b/pysc-v/Frontend/lexer.py
new file mode 100644
index 0000000..5175097
--- /dev/null
+++ b/pysc-v/Frontend/lexer.py
@@ -0,0 +1,4 @@
+# Returns:
+# - label
+# - instruction (with args)
+# - directive (with args)