Skip to content

wheelercj/tias

Repository files navigation

tias (try it and see)

Quickly run code in almost any language.

tias demo

Install with pip install tias (requires Python 3.9 or newer).

reuse code

Set commonly used code ("jargon") to automatically wrap around the code you enter. Default jargon is given for many languages for one-line hello worlds, including:

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");

help 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).

giving input

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

input demo

This app uses tio.run's API.