分类: 数据库开发技术
2012-12-29 09:55:21
syntax研究的是句法,或者说是语言的结构,这无关乎语言实体的含义。
x += y | C, C++, C#, Java, Perl, Python, Ruby, PHP, etc. |
x := x + y | ALGOL, BCPL, Simula, ALGOL 68, SETL, Pascal, Smalltalk, Modula-2, Ada, Standard ML, OCaml, Eiffel, Object Pascal (Delphi), Oberon, Dylan, VHDL, etc. |
ADD x, y | Assembly languages: Intel 8086 |
LET X = X + Y | BASIC: early |
x = x + y | BASIC: most dialects; Fortran, MATLAB |
Set x = x + y | Caché ObjectScript |
ADD Y TO X GIVING X | COBOL |
(incf x y) | Common Lisp |