From bbaff0e0c204c2fab216f6501dc8c11b4425b4bc Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 4 Mar 2024 21:01:27 -0600 Subject: Ugghhhh totally not working --- port.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 port.lua (limited to 'port.lua') diff --git a/port.lua b/port.lua new file mode 100644 index 0000000..c5763df --- /dev/null +++ b/port.lua @@ -0,0 +1,20 @@ +--- lam.port + +local port = {} +table.unpack = table.unpack or unpack + +function port.Input (file) + return { + file = file, + line = "", + } +end + +port.tokenizer = "%s*(,@|[('`,)]|)" + +function port.Input:tokens () -- iterator + +end + +--- +return port -- cgit 1.4.1-21-gabe81