jorts/jortsc/main.py
Luna 588b63fabe add basic lexer
also a draft grammar that i wont use probably
2019-03-08 23:43:17 -03:00

16 lines
254 B
Python

#!/usr/bin/python3
import sys
from parser.lexer import lex_jorts
def main():
"""main entry point"""
try:
in_data = sys.stdin.read()
except EOFError:
pass
print(lex_jorts(in_data))
if __name__ == '__main__':
main()