Add license header and hashbang
This commit is contained in:
parent
c24203476b
commit
a22012eb45
|
@ -1,3 +1,11 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8
|
||||
#
|
||||
# Copyright © 2019 pavle <pavle.portic@tilda.center>
|
||||
#
|
||||
# Distributed under terms of the BSD-3-Clause license.
|
||||
|
||||
NUMBER = 'NUMBER'
|
||||
EOF = 'EOF'
|
||||
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8
|
||||
#
|
||||
# Copyright © 2019 pavle <pavle.portic@tilda.center>
|
||||
#
|
||||
# Distributed under terms of the BSD-3-Clause license.
|
||||
|
||||
from constants import (
|
||||
NUMBER, EOF,
|
||||
PLUS, MINUS, MUL, DIV, POW,
|
||||
|
|
8
lexer.py
8
lexer.py
|
@ -1,3 +1,11 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8
|
||||
#
|
||||
# Copyright © 2019 pavle <pavle.portic@tilda.center>
|
||||
#
|
||||
# Distributed under terms of the BSD-3-Clause license.
|
||||
|
||||
import operator
|
||||
|
||||
from token import Token
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8
|
||||
#
|
||||
# Copyright © 2019 pavle <pavle.portic@tilda.center>
|
||||
#
|
||||
# Distributed under terms of the BSD-3-Clause license.
|
||||
|
||||
from lexer import Lexer
|
||||
from interpreter import Interpreter
|
||||
from constants import DEC
|
||||
|
|
Loading…
Reference in New Issue