Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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