Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Fennel 1.3.1 #2246

Merged
merged 2 commits into from
Jul 31, 2023
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
36 changes: 36 additions & 0 deletions vendor/fennel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Fennel Integration

The code here is a full implementation of [Fennel](https://fennel-lang.org/),
provided as a library. Each time a new Fennel release is made, these files must
be regenerated.

### Requirements

- Lua
- `xxd` (provided by `vim`)

### Steps

1. Clone a copy of Fennel into the same directory you cloned `TIC-80` into, making them "siblings".

``` sh
git clone https://git.sr.ht/~technomancy/fennel
```

`ls` here should list both `fennel` and `TIC-80`.

2. Make a full Fennel build.

``` sh
cd fennel
make
```

3. From within `TIC-80/vendor/fennel/`, delete the previous files and regenerate them.

``` sh
rm loadfennel.lua fennel.h fennel.lua
make
```

4. About 20,000 lines will have changed. Commit the update and open a PR.
Loading
Loading