The Jess language 1.

来源:互联网 发布:淘宝店铺可以改名吗 编辑:程序博客网 时间:2024/04/27 19:48

Atoms

A Jess atom can contain letters,numbers, and the following punctuation: $*=+/<>?#. .An atom may not begin with a number; it may begin with some punctuation marks.
Jess atoms are case sensitive.

Numbers

Jess uses the Java functions java.lang.Double.parseDouble and java.lang.Integer.parseInt to parse integer and floating point numbers.

Strings

Character strings in Jess are denotedd using double quotes(“).

Lists

Another fundamental unit of syntax in Jess is the list.A list always consists of  an enclosing set of parentheses and zero or more atoms , numbers ,strings , or other lists.