diff --git a/llvm_emulator/emulator.py b/emulator.py similarity index 92% rename from llvm_emulator/emulator.py rename to emulator.py index d771b32..1138752 100755 --- a/llvm_emulator/emulator.py +++ b/emulator.py @@ -5,14 +5,14 @@ Main module of the program. This module is the one that should be run, e.g.:: - $ ./llvm--emulator.py + $ ./emulator.py """ import argparse -import stepper -import parser +import llvm_emulator.stepper as stepper +import llvm_emulator.parser as parser def main(): diff --git a/llvm_emulator/parser.py b/llvm_emulator/parser.py index e08b1f2..4aa9467 100644 --- a/llvm_emulator/parser.py +++ b/llvm_emulator/parser.py @@ -3,7 +3,7 @@ import ply.lex as lex import ply.yacc as yacc -import ll +import llvm_emulator.ll as ll class LLVMParser(object): diff --git a/llvm_emulator/stepper.py b/llvm_emulator/stepper.py index f0068ad..35db0da 100644 --- a/llvm_emulator/stepper.py +++ b/llvm_emulator/stepper.py @@ -1,6 +1,6 @@ from enum import Enum -import ll +import llvm_emulator.ll as ll def TODO(msg):