Skip to content

deepEngineering23/Green-Programming-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Green-Programming-Language

Using LexerTk for Lexer building

Applications of LexerTk:

Compiler Front-ends: LexerTk can serve as the front-end of compilers, converting source code into a stream of tokens for subsequent parsing and analysis.

Language Processing Tools: LexerTk can be used in various language processing tools, such as syntax checkers, code analyzers, and code generators.

Data Parsing and Validation: LexerTk can be employed for parsing and validating structured data formats, such as XML, JSON, or configuration files.

Domain-Specific Language Implementations: LexerTk can be utilized for implementing domain-specific languages (DSLs) by providing a foundation for lexical analysis.

Rules of Language that can be lexed correctly

Functions are allowed , any expression is allowed , anything else not allowed (classes etc)

How to run the lexer

step 1) make

step 2) ./lexer ./path/of/file.gr (extension not specified yet in code)

A binary lexer is already present in repo

About

Implementation of a new programming language Green.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published