Skip to content

Remove ancient cruft#47

Merged
kulp merged 21 commits intodevelopfrom
simplify
Aug 31, 2020
Merged

Remove ancient cruft#47
kulp merged 21 commits intodevelopfrom
simplify

Conversation

@kulp
Copy link
Copy Markdown
Owner

@kulp kulp commented Aug 4, 2020

Some parts of tenyr's "ecosystem" are less vibrant than others. Namely, the Forth implementation has bitrotted from what was never a really functional capability to begin with, and some parts of the hardware implementation could be shed, too.

The current PR bids adieu to a few of these less-than-maintained vestiges of a more ambitious era in order to pave the way for a meaningful v1.0 release.

@kulp kulp added this to the v1.0 milestone Aug 4, 2020
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 4, 2020

Codecov Report

Merging #47 into develop will increase coverage by 1.4%.
The diff coverage is 80.0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop     #47     +/-   ##
=========================================
+ Coverage     87.5%   88.9%   +1.4%     
=========================================
  Files           34      34             
  Lines         2810    2707    -103     
  Branches       504     484     -20     
=========================================
- Hits          2459    2409     -50     
+ Misses         186     142     -44     
+ Partials       165     156      -9     
Impacted Files Coverage Δ
src/parser.y 95.5% <ø> (-0.1%) ⬇️
src/obj.c 73.7% <77.7%> (+10.9%) ⬆️
src/lexer.l 93.2% <100.0%> (-0.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f31185e...e5450ff. Read the comment docs.

@kulp kulp force-pushed the simplify branch 4 times, most recently from edebbfd to a3a3a0e Compare August 10, 2020 21:43
@kulp

This comment has been minimized.

@kulp kulp marked this pull request as ready for review August 11, 2020 00:15
@kulp kulp force-pushed the simplify branch 2 times, most recently from 6c48a6f to 98d200c Compare August 17, 2020 11:54
@kulp kulp force-pushed the simplify branch 2 times, most recently from 46c7ada to 4acee91 Compare August 20, 2020 01:17
kulp added 18 commits August 23, 2020 20:10
The forth half-implementation, such as it was, was highly bitrotted, and
philosophically unsound (Forth words were being implemented in terms of
assembly tokens rather than in terms of text, with no end in sight).

A Forth implementation would be a delightful thing for tenyr to have,
and surely someday it will have one, but carrying around a partial
implementation that does not do anything useful except survive assembly
is not a good way to prepare for tenyr v1.0.
We never actually tested on a DE0, and we should not pretend we have
long-term robust support for closed-source EDA toolchains.
The `@+` syntax is much used, but `@=` has never been so.
The only VHDL files we ever really used were third-part files for VGA
output, which were removed in 27ca05c
-- but those files used the `.vhd` extension and were not buildable by
these rules anyway.

There are no plans for tenyr to use VHDL any time soon, so we can remove
this functionality for now.
The build "infrastructure" for generating such devices on demand was
never really warranted.
The web demo is a desirable feature, and may return someday, but its
maintenance burden is not defensible for 1.0. On the other hand,
building for node.js (via asm.js or wasm) is a valuable capability that
will be maintained for 1.0.

Simplify use of preprocessor

Stop embedding .th and resource files

Drop tinypp

The only need for the tiny C preprocessor was to support the web demo,
which has been removed.

Drop (unused, non-working) SDL support under emscripten

Remove ui/web and disperse its contents

Stop using MODULARIZE
    for f in test/misc/obj/*.to ; do tld -o $f.new $f && mv $f.new $f ; done

Manually update version to 2 in other test objs
There is no point in supporting v0 and v1 objects for tenyr v1.0. They
can still be recognized and thrown away, but we can freely consider them
to be error cases at this point.
@kulp kulp merged commit bd88a82 into develop Aug 31, 2020
@kulp kulp deleted the simplify branch August 31, 2020 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant