Littel example how work compiler

Delphi & Pascal (česká wiki)
Přejít na: navigace, hledání
Category: Programs in C, C++

Program: Compiler.c
File exe: Compiler.exe
need: Klavesy.hStruct.h
Example: Prog.c

Littel example how work compiler. It's a easy compiler. You only locate syntax error, don't translate to bin code. IDE is know from common work with C compiler.
DECL
INTEGER b,c, d;
START
 INTEGERREAD b;
 b:=a+(d:c);
 WHILE ()
 INTEGERWRITE a;
STOP