From 464b6e8f5e6c62f58fa8c7ff61ab2ad215e98bd1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 9 Aug 2021 23:02:01 -0400 Subject: Improved single-line comment syntax (from "##" to "..."). --- lux-python/source/program.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index a1a1fd398..360d02448 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -199,7 +199,7 @@ [org/python/core/PyTuple (..read_variant read)] [org/python/core/PyList (..read_tuple read)] )) - ## (exception.throw ..unknown_kind_of_object host_object) + ... (exception.throw ..unknown_kind_of_object host_object) (exception.return host_object)))) (exception: (cannot_apply_a_non_function {object java/lang/Object}) @@ -352,7 +352,7 @@ org/python/core/PyObject)) (ffi.object [] org/python/core/PyObject [] [] - ## Methods + ... Methods (org/python/core/PyObject [] (__call__ self {inputs [org/python/core/PyObject]} @@ -419,7 +419,7 @@ (def: (extender phase_wrapper) (-> platform.Phase_Wrapper Extender) - ## TODO: Stop relying on coercions ASAP. + ... TODO: Stop relying on coercions ASAP. (<| (:as Extender) (function (_ handler)) (:as Handler) @@ -472,8 +472,8 @@ (_.when (_.= (_.string "__main__") (_.var "__name__")) (_.statement (_.apply/2 program (|> (_.var "sys") (_.the "argv") - ## The first entry in the list will be the program.py file itself - ## so, it must be removed so only the program's arguments are left. + ... The first entry in the list will be the program.py file itself + ... so, it must be removed so only the program's arguments are left. (_.slice_from (_.int +1)) runtime.lux::program_args) _.none))))) -- cgit v1.2.3