semvec/pypi-packages huggingface dataset:
tias 0.5.1
Quickly run code in almost any language
License: MIT
Requires Python: >=3.9
Keywords: code,development,programming

# tias (try it and see)

Quickly run code in almost any language.

![tias demo](https://media.giphy.com/media/PF3RygFxDwe6OVbFBr/giphy.gif)

Install with `pip install tias` (requires [Python](https://www.python.org/downloads/) 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#**

```cs
System.Console.WriteLine("hello world");
```

**C++**

```cpp
cout << "hello world";
```

**Go**

```go
fmt.Println("hello world")
```

**Java**

```java
System.out.println("hello world");
```

**Rust**

```rust
println!("hello world");
```

![help demo](images/help.png)

## 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](images/input.png)

This app uses [tio.run](https://tio.run/#)'s API.