Skip to content

C-based custom lexical analyzer for a programming language, with full support for Turkish alphabet and UTF-16 encoded input.

Notifications You must be signed in to change notification settings

GKB-Ninja/TR-Programming-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔤 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 '$'

About

C-based custom lexical analyzer for a programming language, with full support for Turkish alphabet and UTF-16 encoded input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •