Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyGolf Playground

Compiles PolyGolf to code.golf languages in your browser.

Link: polygolf-lang.github.io

Development

The polygolf.bundle.js file is generated by copying src/polygolf.ts to playground/src/polygolf.ts in the PolyGolf project and running

esbuild playground/src/polygolf.ts --bundle --outfile=polygolf.bundle.js

The codemirror.bundle.js file is generated by running

npm install codemirror @codemirror/theme-one-dark codemirror-lang-polygolf rollup @rollup/plugin-node-resolve @rollup/plugin-terser
node_modules/.bin/rollup src/codemirror.js -f iife -n CodeMirror -o src/codemirror.bundle.js -p @rollup/plugin-node-resolve -p @rollup/plugin-terser

About

Compiles PolyGolf to code.golf languages in your browser

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages