Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 810 Bytes

File metadata and controls

17 lines (9 loc) · 810 Bytes

🔤 Custom Syntax Analyzer with Turkish Literal Support: "TR-701"

This project is a lexical analyzer for a simple custom programming language named TR-701, with specialized support for Turkish characters in identifiers and keywords. Written in C, it tokenizes arithmetic expressions, control flow statements (if, for, while, etc.), and includes extended logic to handle Turkish-specific Unicode characters.

✨ Features

Lexical analysis for arithmetic and logical expressions

Support for standard keywords: if, else, for, while, return, etc.

In-depth handling of Turkish letters like Ç, Ş, Ğ, İ, Ü, etc.

Outputs token type and lexeme during scanning

UTF-16 (BOM-aware) input file support (front.in)

Both in-line and block comment handling with '$'