BayesianLogic / blog

The BLOG programming language
http://bayesianlogic.github.io/
BSD 4-Clause "Original" or "Old" License
98 stars 31 forks source link

Support List Expression #289

Open jxwuyi opened 10 years ago

jxwuyi commented 10 years ago

In the current blog syntax, all the list expression (e.g. [1,2,3,4]) will be interpreted as RealMatrix. However, we should support general list expression, i.e. [City1, City2, City3].

Note that [] is used to denote RealMatrix. We need to invent a new syntax to represent List. I would suggest List(City1, City2...)