Skip to main content

Quickly run code in almost any language

Project description

run quick

Quickly run code in almost any language.

rq demo

This app uses tio.run's API but can also wrap commonly used jargon around your code for faster experimentation. Here are some sample hello world programs in various languages in this app:

C#

System.Console.WriteLine("hello world");

C++

cout << "hello world";

Go

fmt.Println("hello world")

Java

System.out.println("hello world");

Rust

println!("hello world");

These super short hello world programs are possible because if you don't create a main function, this app can wrap your code in a main function and import commonly used libraries. Jargon wrapping is available for several languages. You can see a language's optional jargon (and whether a language has optional jargon) by entering jargon after the language name when the app asks you to choose a language.

jargon demo

supported languages

Here are some of the languages:

APL, Assembly, Bash, C, C#, C++, Clojure, COBOL, Crystal, Dart, Elixir, Emacs Lisp, Erlang, F#, Fortran, Go, Groovy, Haskell, Java, JavaScript, Julia, Kotlin, LLVM, LOLCODE, Lua, Malbolge, Objective-C, OCaml, Perl, PHP, PowerShell, Python, R, Ruby, Rust, Scala, SQLite, Swift, TypeScript, and hundreds more (680 total).

To see the full list, enter list when this app asks you which language to use. Some language choices may require you to specify which compiler you want to use. You can filter the results by entering the start of a language after list .

list demo

giving input

You can give input to your code by wrapping it with three backticks and then listing the inputs after.

input demo

download

  1. Download Python if you haven't already. This app has been tested with Python 3.9 and 3.10.
  2. Download the source code here: https://github.com/wheelercj/run-quick/tags.
  3. Unzip the file.
  4. You may want to create a virtual environment.
  5. Install the dependencies with pip install -r requirements.txt.
  6. Run main.py.

You can create a terminal command to run this app by following these instructions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tias-0.3.0.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

tias-0.3.0-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page