aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2021-08-09 23:02:01 -0400
committerEduardo Julian2021-08-09 23:02:01 -0400
commit464b6e8f5e6c62f58fa8c7ff61ab2ad215e98bd1 (patch)
tree1ae9d95956cee4251cd29a3e24c246c4360d567d /lux-python
parentf621a133e6e0a516c0586270fea8eaffb4829d82 (diff)
Improved single-line comment syntax (from "##" to "...").
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux10
1 files changed, 5 insertions, 5 deletions
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)))))