Skip to content

battista26/python-lexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python'da PLY kullanarak keywordleri, identifierları, commentları, conditionları, loopları ve operationları bulunduran 'programlama dili'.
Compiler Design dersinde compiler için ilk aşama olan Lexer kısmı.

Python ve PLY yüklü olmalı. 3 tane test ekledim çalıştırmak için

with open('test3.lang', 'r', encoding='utf-8') as f:
    lexer.input(f.read())

Kısmında sadece isim değiştirerek deneyebilirsiniz ya da kendi testinizi de ekleyebilirsiniz.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages