X programming language Definition-glossary, symbol table

Source: Internet
Author: User
Tags array definition

Always like the operating system, because this reason later inadvertently did the programmer, but that thing is too big, back and second, do a little language to play.

Basically, it comes from c/pascal/oberon/basic/c#; the reason for using PASCAL is that its syntax and logic are clear and easy to understand, with some of the small features of c/c++/c#, because this is often familiar.

In addition, the functional language of the Lisp class is very advanced, but in many cases it does not seem to be natural. Ideally, the LAMDA expression needs to be implemented.

Related to C # is only the final language because of the external reasons for the intervention, you can write a program to simulate the simple implementation of its delegation, or the final implementation of the event and other communication mechanisms inconvenient, unable to do graphics interface processing.

And the mechanism for the signal slots in QT is too complicated. But the main thing is to bias their own personal habits. Then the final effect is also easy to implement JS and xcblib so that the page or interface can be easily multi-threading.

Because it is take doctrine, the name is still not ready, but initially to determine that this is a class C static compilation of small language, first called X bar.

--note, simple description:

1, in order to achieve the simple keyword all must capitalize, nor allow complex loop nesting;

2, because the static compiled statements commonly used fields of application is probably also graphic image, hardware operation, database, network a few chunks; so the following keywords as far as possible, but still a bit more;

3, the following table contents may change at any time, plus or minus keywords (reserved words). Would like to use a cycle of VB grammar, think of a few key words or forget.

Keyword action

=====================

Array definition

BEGIN statement

Boolean Boolean type

CONST Constant Declaration

class declaration

DIV divisible

Do statement

ELSE statement

END statement

Function procedure declarations (also called functions or methods, but because the individual is biased to some words closer to the mathematical term; so this is still called a function)

Interger Integral type

IF statement

of statements

Then statement

Type definition

VAR variable definition

While statement

Second, the symbol table (logical AND or not, the individual prefers and the letter type, but with this in the mathematical calculation is not convenient, had to throw away)

Symbolic effect

=====================

; Statement end

: type identification

: = value Assignment

= equals

! = does not equal

> Greater than

>= greater than or equal to

< less than

<= less than or equal to

+ Plus

-Minus

* Multiply

/except

, variable delimited

(Left Parenthesis

) Right Parenthesis

[Identity Array subscript

] Identifies the array subscript

& Logic and

| Logical OR

! Logical Non-

\ Escape

X programming language Definition-glossary, symbol table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.