From fa57a727c1a0ea6d2f21eb6c903bafc1662d2c6b Mon Sep 17 00:00:00 2001 From: cfreksen Date: Mon, 30 Oct 2017 17:44:26 +0100 Subject: [PATCH] Move emulator.py into root directory. --- llvm_emulator/emulator.py => emulator.py | 6 +++--- llvm_emulator/parser.py | 2 +- llvm_emulator/stepper.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename llvm_emulator/emulator.py => emulator.py (92%) 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):