From c1c32688a4afc43f6addb99b8b5fa878944a70e3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Jan 2019 15:42:48 -0800 Subject: Overhaul in progress, mostly working. Moved all the nomsu packages into lib/, including core/*. Changes to how nomsu environments and importing work. --- files.moon | 7 ------- 1 file changed, 7 deletions(-) (limited to 'files.moon') diff --git a/files.moon b/files.moon index 3950ce3..a9fbb5c 100644 --- a/files.moon +++ b/files.moon @@ -134,11 +134,4 @@ Files.get_line = (str, line_no)-> return unless stop return (str\sub(start, stop - 2)) -get_lines = re.compile([[ - lines <- {| line (%nl line)* |} - line <- {[^%nl]*} -]], nl:lpeg.P("\r")^-1 * lpeg.P("\n")) - -Files.get_lines = (str)-> get_lines\match(str) - return Files -- cgit v1.2.3