Skip to content

Commit bbf171e

Browse files
committed
Reorganize code
* Dropped pyinstaller zxbasic.spec (no longer used) * Rename module zxb to libzxbc * Rename module zxbasm to libzxbasm * Rename module zxbpp to libzxbpp This will allow to create proper script names 'zxbc', 'zxbasm', 'zxbpp' now that these folders have been renamed.
1 parent 6b5d03e commit bbf171e

46 files changed

Lines changed: 112 additions & 211 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

arch/zx48k/optimizer/asm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .patterns import RE_OUTC, RE_INDIR16
44
from .helpers import single_registers
5-
from zxbasm import z80
5+
from libzxbasm import z80
66

77
# Dict of patterns to normalized instructions. I.e. 'ld a, 5' -> 'LD A,N'
88
Z80_PATTERN = {}

arch/zx48k/optimizer/memcell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .. import backend
77
from .asm import Asm
88
from api.utils import flatten_list
9-
from zxbasm import asmlex
9+
from libzxbasm import asmlex
1010

1111

1212
class MemCell(object):

arch/zx48k/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from api.errors import InvalidOperatorError
2222
from api.errors import InvalidBuiltinFunctionError
2323
from api.errors import InternalError
24-
from zxbpp import zxbpp
24+
from libzxbpp import zxbpp
2525

2626
from . import backend
2727
from .backend.__float import _float

zxbasm/asm.py renamed to libzxbasm/asm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
# vim: ts=4:et:sw=4
44

5-
from zxbasm.z80 import Opcode, Z80SET
5+
from libzxbasm.z80 import Opcode, Z80SET
66
from api.errors import Error
77
import re
88

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from api.errmsg import warning
2727
from api import global_ as gl
2828
import api.utils
29-
from zxbpp import zxbpp
29+
from libzxbpp import zxbpp
3030
import outfmt
3131

3232
LEXER = asmlex.Lexer()
File renamed without changes.
File renamed without changes.

zxbasm/zxbasm.py renamed to libzxbasm/zxbasm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import argparse
1717

1818
from . import asmparse
19-
from zxbpp import zxbpp
19+
from libzxbpp import zxbpp
2020

2121
import api.config
2222
from api.config import OPTIONS

0 commit comments

Comments
 (0)