Relocate tool, cleanup.

This commit is contained in:
Brad Nelson
2022-02-04 19:26:18 -08:00
parent e8952f6bf6
commit 2111a6ca36
3 changed files with 5 additions and 5 deletions

View File

@ -379,7 +379,7 @@ esp32_target: $(ESP32)/ESP32forth/ESP32forth.ino
$(ESP32)/ESP32forth:
mkdir -p $@
ESP32_PARTS = common/replace.js \
ESP32_PARTS = tools/replace.js \
esp32/template.ino \
common/opcodes.h \
common/extra_opcodes.h \
@ -395,7 +395,7 @@ ESP32_PARTS = common/replace.js \
$(GEN)/esp32_boot.h
$(ESP32)/ESP32forth/ESP32forth.ino: $(ESP32_PARTS) | $(ESP32)/ESP32forth
cat esp32/template.ino | common/replace.js \
cat esp32/template.ino | tools/replace.js \
VERSION=$(VERSION) \
REVISION=$(REVISION) \
config=@esp32/config.h \
@ -468,7 +468,7 @@ publish: publish-esp32 publish-linux publish-windows publish-index
$(DEPLOY):
mkdir -p $@
REPLACE = common/replace.js \
REPLACE = tools/replace.js \
COMMON=@site/common.html \
POSIX_COMMON=@site/posix_common.html \
DESKTOP_COMMON=@site/desktop_common.html \

View File

@ -76,12 +76,12 @@ columns = [7, 7, 7, 15, 30]
print(Columns(['START', 'SIZE', 'PARAMS', 'VOCABULARY', 'WORD'], columns, underline=True))
for item in layout:
print(Columns(item, columns))
print()
print('')
columns = [7, 12, 7, 15]
print(Columns(['SIZE', 'PARAM SIZE', 'COUNT', 'VOCABULARY'], columns, underline=True))
for item in vocab_table:
print(Columns(item, columns))
print()
print('')
columns = [7, 7, 15]
print(Columns(['SIZE', 'COUNT', 'CATEGORY'], columns, underline=True))
print(Columns([string_size, items, 'names'], columns))