Skip to content

Commit

Permalink
Jscroll (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 authored Jan 7, 2025
1 parent 96506b3 commit 6391f5c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
15 changes: 15 additions & 0 deletions jscroll.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script src="jscroll.js"></script>

<div id="output"></div>

<script type="text/javascript">
const main = async () => {
const program = await jscroll.parseScroll(`https://pldb.io/pldb.json
select id rank
printTable
`)
document.querySelector("#output").innerHTML = program.asHtml
console.log(program.asHtml)
}
main()
</script>
23 changes: 23 additions & 0 deletions jscroll.scroll
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
buildJs
inlineJs
external/.dayjs.min.js
external/.d3.js
../tryscroll/lodash.min.js
../sdk/sandbox/lib/codemirror.js
../sdk/sandbox/lib/show-hint.js
../sdk/sandbox/lib/placeholder.js
../sdk/products/Utils.browser.js
../sdk/products/Path.js
../sdk/products/Particle.browser.js
../sdk/products/Parsers.ts.browser.js
../sdk/products/parsers.browser.js
../sdk/products/ParsersCodeMirrorMode.browser.js
../sdk/products/Fusion.browser.js
../sdk/products/stump.browser.js
../sdk/products/hakon.browser.js
../sdk/products/ParticleComponentFramework.browser.js
../tryscroll/components/FusionEditor.js
../tryscroll/dist/constants.js

script
const jscroll = new FusionEditor(AppConstants.parsers)

0 comments on commit 6391f5c

Please sign in to comment.