]> ocean-lang.org Git - ocean/commit
oceani: introduce List an ExpressionList as early as possible.
authorNeilBrown <neil@brown.name>
Mon, 27 Dec 2021 20:57:08 +0000 (07:57 +1100)
committerNeilBrown <neil@brown.name>
Mon, 27 Dec 2021 20:57:08 +0000 (07:57 +1100)
commit772180e5c0778f87edf37113966052d25ad880a3
treea683242ad458671a7c8c5e56c63bde50600ce870
parentd58f04dc62ec58ed72c00db43b80122fbdfc0925
oceani: introduce List an ExpressionList as early as possible.

ExpressionList is currently used before it is introduced - bad.

List is infrastructure rather than a particular entity, so introduce it
with the other infrastructure, and then introduce ExpressionList where
Expression and Term are first mentioned.

Also move the printing of a List - which is only used for the "print"
statement - into the code for "print".

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani.mdc