Skip to content

Commit

Permalink
add preview screenshot image
Browse files Browse the repository at this point in the history
  • Loading branch information
sohang3112 committed Apr 30, 2024
1 parent 0645e4b commit 935ad12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>ngn/apl</title>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=web/index.html">
<meta property="og:image" content="ngn-apl-screenshot.png" />

<!-- Disable cache - source: https://stackoverflow.com/a/65475919/12947681 -->
<meta http-equiv='cache-control' content='no-cache'>
Expand Down
Binary file added ngn-apl-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# ngn/apl

This is a fork of [ngn/apl](https://github.com/abrudz/ngn-apl).
Try using it online **[here](https://sohang3112.github.io/ngn-apl)**. It can also be used as a [PWA (Progressive Web App)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/What_is_a_progressive_web_app) on a computer / phone - even without internet!

This fork adds the ability to install & use this as a [PWA (Progressive Web App)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/What_is_a_progressive_web_app).
![Screenshot](ngn-apl-screenshot.png)

----

**[Demo](https://sohang3112.github.io/ngn-apl)**

An [APL](https://en.wikipedia.org/wiki/APL_%28programming_language%29) interpreter written in JavaScript.
Runs in a browser or [NodeJS](https://nodejs.org/).

Expand All @@ -20,7 +18,7 @@ prototypes, modified assignment (`x+←1`), control structures (`:If`), object-o
Used in [Paul L Jackson's web site](https://plj541.github.io/APL.js/), [repl.it](https://repl.it/languages/APL),
and [tio.run](https://tio.run/#apl-ngn).

# Offline usage
# Offline usage with NodeJS

Run `apl.js` with [Node](https://nodejs.org/) to start a REPL:

Expand Down
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset=utf-8>
<title>ngn/apl</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="../ngn-apl-screenshot.png" />

<!-- Disable cache - source: https://stackoverflow.com/a/65475919/12947681 -->
<meta http-equiv='cache-control' content='no-cache'>
Expand Down

0 comments on commit 935ad12

Please sign in to comment.