Coder Social home page Coder Social logo

samp-dev / fiddle Goto Github PK

View Code? Open in Web Editor NEW
30.0 4.0 5.0 5.98 MB

A playground platform for the PAWN scripting language

Home Page: https://fiddle.sa-mp.dev/

License: MIT License

TypeScript 91.60% HTML 2.49% CSS 0.04% Dockerfile 0.92% Shell 0.57% SCSS 4.38%
pawn fiddle playground sa-mp sampctl

fiddle's People

Contributors

dependabot[bot] avatar pkfln avatar snyk-bot avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

fiddle's Issues

Title or URL

You can enter a nice title for your fiddle, but this isn't actually used. I wanted to retrieve an old one I'd written. I knew roughly what I'd called it, but because the nice title wasn't actually applied to either the URL (which is just random words - why?) or the page title (that's just "PAWN Fiddle") I have no way to search my history for it:

https://fiddle.sa-mp.dev/StreetsmartRhinophilicCockroach

Where do those words come from? Not one of them is in my title.

Remove the captcha

I was trying to test some code out, and got 5 captchas in 4 runs! Enough to make me quit and just download the server.

-l

There should be a way to compile with -l (i.e. pre-process) and somehow map that back to the input source.

Stepped macro replacement

Pawn-playground has a feature where you could single-step pre-processor macro replacements to see exactly how they were evaluated at every stage of compiling. It was incredibly handy.

Please add that.

Captchas are being spammed

Every single time I run, I get a captcha, even though I am not doing anything out of the ordinary. And so far I have correctly succeeded every captcha on first try.

Default `main` uses K&R

When you create a new fiddle this is the view:

#include <a_samp>

main() {
    
}

Instead of matching code from the rest of SA:MP, i.e.:

#include <a_samp>

main()
{
    
}

Undo is weird

After doing a paste, undo won't undo the paste, instead it deletes single parts of the paste one by one. Undo should always undo an action, not a set of random characters.

Double-clicking "Stop"

If you click the stop button twice fast enough, you get an error about "Invalid request (your script is not currently running).

Bug at Run

When I try to run any script, it gives me an error.

image

-a

There should be a way to compile with -a (i.e. generate assembly) and somehow map that back to the input source.

Add option to download fiddles for easy local development

This could consist of an archive of the submitted fiddle as a .pwn file, accompanied by a generated pawn.json. The idea is that it would be trivial for a user to download the fiddle and run it on their own machine with a simple ensure, build, run.

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.