Littel example how work compiler
Delphi & Pascal (česká wiki)
Category: Programs in C, C++
Program: Compiler.c
File exe: Compiler.exe
need: Klavesy.h, Struct.h
Example: Prog.c
Program: Compiler.c
File exe: Compiler.exe
need: Klavesy.h, Struct.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.
// KLAVESY.H Copyright (c) TrSek alias Zdeno Sekerak // Program je sucastou programu Compiler.c // // Datum:22.04.96 http://www.trsek.com #define ESC 27 #define ENTER 13 #define BACKSPACE 8 #define HOME 71 #define END 79 #define INSERT 82 #define DEL 83 #define PGUP 73 #define PGDN 81 #define LEFT 75 #define RIGHT 77 #define UP 72 #define DOWN 80 #define F1 59 #define F2 60 #define F3 61 #define F4 62 #define F5 63 #define F6 64 #define F7 65 #define F8 66 #define F9 67 #define F10 68