Last active
July 3, 2019 00:04
-
-
Save bobbicodes/dc265f68ab2ec2aec246a42a8d50c196 to your computer and use it in GitHub Desktop.
Demonstrates loading libs into KLIPSE, and code from gist. We use a self-hosted fork of Instaparse which incidentally requires us to preload the parser from here: https://gist.github.com/porkostomus/5e7b70679a082b34acaf5c83b48918e1. Otherwise, the `<` and `>` symbols will be escaped and break it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Instaparse-klipse</title> | |
| <link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css"> | |
| <script> | |
| window.klipse_settings = { | |
| selector: '.language-klipse', | |
| }; | |
| </script> | |
| </head> | |
| <body> | |
| <h1><center>Instaparse-klipse</center></h1> | |
| <pre><code class="language-klipse" data-external-libs="https://raw.githubusercontent.com/hlolli/instaparse-lumo/master/src" > | |
| (ns algae | |
| (:require [instaparse.core :as insta])) | |
| </code></pre> | |
| <pre><code class="language-klipse" data-gist-id="https://gist.github.com/porkostomus/5e7b70679a082b34acaf5c83b48918e1"> | |
| </code></pre> | |
| <script src="https://storage.googleapis.com/app.klipse.tech/plugin/js/klipse_plugin.js"></script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment