Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
Refactor folders to compact folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMacDonald11 committed Jan 23, 2022
1 parent aabd867 commit 5c47cad
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion modules/errors/errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from position.position import Position
from lexing.position.position import Position

class SeaError(Exception):
def __init__(self, position = None, message = ""):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions modules/interfaces/terminal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from streams.holder import StreamHolder
from streams.terminal import TerminalInStream, TerminalOutStream, TerminalErrorStream
from .streams.holder import StreamHolder
from .streams.terminal import TerminalInStream, TerminalOutStream, TerminalErrorStream
from . import general

def interface(debug):
Expand Down
10 changes: 5 additions & 5 deletions modules/lexing/lexer.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from position.position import Position
from position.symbol_position import SymbolPosition
from tokens.constant import NumericalConstant
from tokens.punctuator import Operator
from tokens.punctuator import Punctuator, Punc
from .position.position import Position
from .position.symbol_position import SymbolPosition
from .tokens.constant import NumericalConstant
from .tokens.punctuator import Operator
from .tokens.punctuator import Punctuator
from . import errors

class Lexer:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from lexing import errors
from .token import Token
from .. import errors

class Constant(Token):
def __init__(self, value, position = None):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from enum import Enum, unique
from lexing import errors
from .token import Token
from .. import errors

class Punctuator(Token):
@property
Expand Down
File renamed without changes.

0 comments on commit 5c47cad

Please sign in to comment.