Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.tas.cpp linguist-language=tenyr
hw/lattice/*.sty linguist-language=XML
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[submodule "3rdparty/tinypp"]
path = 3rdparty/tinypp
url = https://github.com/kulp/tinypp.git
[submodule "3rdparty/lcc"]
path = 3rdparty/lcc
url = https://github.com/drh/lcc.git
[submodule "wiki"]
path = wiki
url = https://github.com/kulp/tenyr.wiki.git
[submodule "3rdparty/wb_intercon"]
path = 3rdparty/wb_intercon
url = https://github.com/olofk/wb_intercon.git
[submodule "3rdparty/naive-tsearch"]
path = 3rdparty/naive-tsearch
url = https://github.com/kulp/naive-tsearch.git
1 change: 1 addition & 0 deletions 3rdparty/naive-tsearch
Submodule naive-tsearch added at 11cb6e
1 change: 0 additions & 1 deletion 3rdparty/tinypp
Submodule tinypp deleted from d018c1
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Stopped using coveralls.io for code coverage reporting
- Dropped `raw` output format
- Dropped explicit support for backslashes as path component separators (#43)
- Removed support for various deprecated and obsolete functionalities (#47)
- Dropped support for C-style and C++-style comments in .tas files
- Removed broken Forth implementation
- Dropped support for deprecated v0 and v1 object formats
- Remove unused `@=` syntax sugar
- Removed web demo
- Removed bitrotten support for Quartus and Lattice builds
- Dropped unused submodule for broken lcc port

## [0.9.7] - 2019-07-25
### Added
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ tsim_OBJECTS = $(common_OBJECTS) simif.o asm.o obj.o plugin.o \
tld_OBJECTS = $(common_OBJECTS) obj.o

ifeq ($(USE_OWN_SEARCH),1)
vpath %.c $(TOP)/3rdparty/naive-tsearch
# The interface of lsearch and tsearch is not something we can change.
lsearch.o tsearch.o: CFLAGS += -W$(PEDANTRY_EXCEPTION)cast-qual
# tsearch.o from naive-tsearch has feature flags
tsearch.o: CFLAGS += -Wno-unused-macros

tas_OBJECTS += lsearch.o tsearch.o
tld_OBJECTS += lsearch.o tsearch.o
Expand All @@ -54,7 +57,6 @@ distclean:: clobber
clean clobber::
-rmdir $(BUILDDIR)/devices $(BUILDDIR) build # fail, ignore if non-empty
-$(MAKE) -C $(TOP)/test $@
-$(MAKE) -C $(TOP)/forth $@
-$(MAKE) -C $(TOP)/hw/icarus $@
-$(MAKE) -C $(TOP)/hw/xilinx $@

Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

**tenyr** is a 32-bit computer architecture and computing environment that
focuses on simplicity of design and implementation. **tenyr**'s tools run on
Mac, \*nix, Windows, node.js (via [emscripten](https://github.com/kripken/emscripten)),
and [in a web browser](http://demo.tenyr.info/). **tenyr**'s highly portable
Verilog hardware definition has been demonstrated on Xilinx Spartan6 FPGAs and
should run fine on many FPGAs while using less than 1200 LUT6-equivalents.
macOS, \*nix, Windows, and node.js (via [emscripten](https://github.com/emscripten-core/emscripten)).
**tenyr**'s highly portable Verilog hardware definition has been demonstrated
on Xilinx Spartan6 FPGAs and should run fine on many FPGAs while using less
than 1200 LUT6-equivalents.

**tenyr** comprises :

Expand All @@ -27,6 +27,4 @@ should run fine on many FPGAs while using less than 1200 LUT6-equivalents.
* random snakes "screensaver" ([tenyr source code](https://github.com/kulp/tenyr/blob/develop/ex/bm_snake.tas.cpp) – [running in the simulator](https://vimeo.com/98338696), [running on the FPGA](https://vimeo.com/103773300))
* a [recursive Fibonacci number generator](https://github.com/kulp/tenyr/blob/develop/ex/bm_fib.tas.cpp)

Explore a [simple online demo of the **tenyr** toolset](http://demo.tenyr.info/).

**tenyr**'s documentation is [a wiki](https://github.com/kulp/tenyr/wiki), and it keeps a [changelog](Changelog.md) from v0.9.4 onward.
2 changes: 0 additions & 2 deletions bench/Makefile

This file was deleted.

56 changes: 0 additions & 56 deletions bench/bsearch.c

This file was deleted.

78 changes: 0 additions & 78 deletions bench/qsort.c

This file was deleted.

61 changes: 0 additions & 61 deletions bench/results.txt

This file was deleted.

10 changes: 5 additions & 5 deletions ex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ TOP := $(abspath ..)
include $(TOP)/mk/common.mk
include $(TOP)/mk/rules.mk

vpath %.tas $(TOP)/lib $(TOP)/lib/dword
vpath %.tas.cpp $(TOP)/lib $(TOP)/lib/dword
vpath %.tas $(TOP)/lib
vpath %.tas.cpp $(TOP)/lib

%.tas: INCLUDES += $(TOP)/lib $(TOP)/lib/dword
%.tas: INCLUDES += $(TOP)/lib

TARGETS = \
bsearch_demo.texe \
Expand All @@ -27,7 +27,7 @@ TARGETS = \

CPP_FILES := $(wildcard *.tas.cpp)

clean_FILES += $(TARGETS) *.to dword/*.to *.texe
clean_FILES += $(TARGETS) *.to *.texe
clean_FILES += $(CPP_FILES:%.tas.cpp=%.tas)

all: $(TARGETS)
Expand All @@ -38,7 +38,7 @@ $(patsubst %.tas,%.texe,$(patsubst %.tas.cpp,%.tas,$(wildcard bm_*.tas*))): \
hello.texe: puts.to
compare.texe: strcmp.to puts.to
dynamic.texe: memset.to malloc.to abort.to
maths.texe: isqrt.to umod.to udiv.to dword/add.to dword/dword_mul.to
maths.texe: isqrt.to umod.to udiv.to dword_add.to dword_mul.to
totient.texe: gcd.to
isprime.texe: umod.to isqrt.to udiv.to
bsearch_demo.texe: bsearch.to puts.to
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions forth/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions forth/Makefile

This file was deleted.

Loading