Giter Site home page Giter Site logo

teal-playground's Introduction

teal playground

teal-language/tl browser playground.

Setup

yarn install

Adding code snippets

  1. Add a file to snippets, copied from existing snippet file.
  2. Add an entry to the snippets index file.

Development

yarn serve

Build for deployment

yarn build

teal-playground's People

Contributors

darrenjennings avatar dependabot[bot] avatar hishamhm avatar pdesaulniers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

thisisgame

teal-playground's Issues

Brackets [ ] cause a JavaScript error?

If I type brackets [ ] into the editor, I get a JavaScript error in the inspector console:

SyntaxError: "[string "?"]:7: ')' expected near ']'"
    D fengari-web.bundle.js:8
    handler Playground.vue:87
    VueJS 4
        run
        $n
        pt
        lt
Playground.vue:106:18

Netlify configuration is outdated

Hi @darrenjennings! Could you take a look at the Netlify configuration enabled for this repo? I think you're the only one with access to it right now. It is currently failing for all PRs on this repo:

Example failure from one of the currently-open PRs:
https://app.netlify.com/sites/teal-playground/deploys/654713b2898b73000874bb4f

If you click on "Initializing", you'll see this:

1:01:54 AM: ---------------------------------------------------------------------
  UNSUPPORTED BUILD IMAGE

  The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.

  To enable builds for this site, select a later build image at the following link:
  https://app.netlify.com/sites/teal-playground/settings/deploys#build-image-selection

  For more details, visit the build migration guide:
  https://answers.netlify.com/t/please-read-end-of-support-for-xenial-build-image-everything-you-need-to-know/68239
  ---------------------------------------------------------------------

I expect it to be a matter of tweaking the Netlify configuration on your end without any code changes, since nothing we do is distro-specific, could you take a look? (I currently have Teal Playground builds working without issues on the https://github.com/teal-playground/tl repo using a different Netlify deploy associated to my own account.)

add shareable urls

  • the url should be shareable when you have a text snippet
  • the url should have the "example snippet type" e.g. "enums"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.