From ad342b63b7b6f07f9c8dc44fc09f7d478b7bb1e0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Jun 2018 16:11:08 -0700 Subject: Simplifications/streamlining the Make process, and cleaning up some of how command line interaction and `use %` work. --- core/metaprogramming.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/metaprogramming.nom') diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index f9cb4e9..d22a457 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -206,7 +206,7 @@ compile [%lua <-write %code, to %lua write %code] to: Lua "\(%lua as lua expr):a compile [quote %s] to Lua value ".." - ('"'..\(%s as lua expr):gsub("\\\\", "\\\\\\\\"):gsub("\n","\\\\n"):gsub('"', '\\\\"')..'"') + repr(\(%s as lua expr)) compile [type of %obj] to: Lua value "type(\(%obj as lua expr))" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3