TPC16 Compiler Source Code Icon

TPC16 Compiler Source Code

Turbo Pascal compiler written in Turbo Pascal - Source code to build a compiler

TPC16 Compiler Source CodeOverview

Editor: Turbo Pascal compiler written in Turbo Pascal. This is not the "original" Borland source code of the Turbo Pascal since it was not written in Pascal. This is TPC16, a Turbo Pascal compatible compiler written from scratch. It is completely source-code compatible with the Borland Turbo Pascal 7.0 command line compiler TPC.EXE. This means that it uses the same syntax and generates EXACTLY THE SAME compiled units and 16-bit code for x86.

This source code shows all the beauty of the Pascal programming language and reveals all the tricks needed to build a fast and Compact compiler for any language, not just Pascal. With this Turbo Pascal single pass compiler source code you will get: Architecture of symbol tables, Understanding of Turbo Pascal unit structure, Ultra fast scanner, Examples of hash tables for fast keyword search, Plethora of data structures needed in any compiler, Algorithms for dealing with identifiers, scopes and units, Parser to analyze a sequence of tokens and to check Pascal syntax, Example of compiler error reporting, Understanding of expressions and calculations, Examples of arbitrary expression processing and code generation, Algorithms for generating complex code with limited set of registers, Example of in-line assembler compiler, Example of intermediate code structure, Optimizing code generator, Understanding of importing object files, Optimizing linker with excellent approach to resolve references, A working compiler compatible with Borland Turbo Pascal 7, Deep understanding of the Turbo Pascal compiler internals and more.

# Architecture of symbol tables
# Understanding of Turbo Pascal unit structure
# Ultra fast scanner
# Examples of hash tables for fast keyword search
# Plethora of data structures needed in any compiler
# Algorithms for dealing with identifiers, scopes and units
# Parser to analyze a sequence of tokens and to check Pascal syntax
# Example of compiler error reporting
# Understanding of expressions and calculations

NEW

Fixed some bugs.

TPC16 Compiler Source CodeInformation

Version
1.0
Date
11.03.09
License
Demo
Language
English
File Size
517KB
Developer
Category
Operating Systems
Windows XP, 2000, 98
System Requirements
No additional system requirements.
Turbo51 Icon
A free Pascal compiler for the 8051 family of microcontrollers.
Free
TPC32 Compiler Source Code Icon
Turbo Pascal compiler written in Delphi - Source code to build a compiler
Paid
More
Notepad++ (64-bit) Icon
Take full advantage of highly executable, multi-language, simultaneous text and source code editing.
Free
Notepad++ Icon
Take full advantage of highly executable, multi-language, simultaneous text and source code editing.
Free
Sublime Text (64-Bit) Icon
Create and edit commands, text files, macros, and regular expressions.
Demo
BlueGriffon Icon
BlueGriffon is a new WYSIWYG content editor for the World Wide Web.
Free
Batch Hex Editor Icon
Replace, insert, delete, hex-edit bytes and bits in multiple files
Trial
AutoCode Icon
Automates repetitive coding tasks by using custom commands
Free
DJ Java Decompiler Icon
Decompile any Java applets or binaries and reconstruct the original source code
Trial
Visual Studio Code Icon
Generate and debug innovative Web and cloud applications with lightweight, yet high-powered source code editor.
Free
More