Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raulil/plorth-browser
Enables you to run Plorth inside a browser
https://github.com/raulil/plorth-browser
plorth
Last synced: about 5 hours ago
JSON representation
Enables you to run Plorth inside a browser
- Host: GitHub
- URL: https://github.com/raulil/plorth-browser
- Owner: RauliL
- License: bsd-2-clause
- Created: 2018-01-18T20:35:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T16:30:03.000Z (almost 7 years ago)
- Last Synced: 2024-11-09T01:09:52.813Z (7 days ago)
- Topics: plorth
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plorth in browser
Simple drop-in script which enables you to run [Plorth] programming language
inside a browser, either embedded inside `` tags or retrieved from
external resource if the `<script>` tag has an `src` attribute, as long as the
`type` attribute of the tag is `application/plorth`.## Usage
Include `plorth.min.js` in `<head>` tag of your browser and declare your Plorth
scripts with `<script type="application/plorth">`, like this:```html
<!DOCTYPE html>
<html>
<head>
<title>Plorth in a browser example</title>
<script src="https://unpkg.com/[email protected]/plorth.min.js">
: print-hello "Hello, World!" print ;
print-hello