More readme stuffs
This commit is contained in:
parent
aeeb437ab6
commit
350acc8f89
1 changed files with 15 additions and 5 deletions
20
README.md
20
README.md
|
@ -10,7 +10,9 @@ Sandboxed code execution discord bot.
|
||||||
>```lang
|
>```lang
|
||||||
code
|
code
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
````
|
||||||
>options```lang
|
>options```lang
|
||||||
code
|
code
|
||||||
```
|
```
|
||||||
|
@ -20,7 +22,9 @@ code
|
||||||
|
|
||||||
```
|
```
|
||||||
>`lang code`
|
>`lang code`
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
>options`lang code`
|
>options`lang code`
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -35,7 +39,9 @@ int main()
|
||||||
std::cout << "Hello World!" << std::endl;
|
std::cout << "Hello World!" << std::endl;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
````
|
||||||
>harmony```js
|
>harmony```js
|
||||||
class Foo {
|
class Foo {
|
||||||
bar = 1;
|
bar = 1;
|
||||||
|
@ -43,12 +49,16 @@ class Foo {
|
||||||
|
|
||||||
console.log(new Foo().bar);
|
console.log(new Foo().bar);
|
||||||
```
|
```
|
||||||
|
|
||||||
>`py print('hello world')`
|
|
||||||
|
|
||||||
>e`hs (+) <$> Just 1 <*> Just 2`
|
|
||||||
````
|
````
|
||||||
|
|
||||||
|
```
|
||||||
|
>`py print('hello world')`
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
>e`hs (+) <$> Just 1 <*> Just 2`
|
||||||
|
```
|
||||||
|
|
||||||
## Supported Languages and Options
|
## Supported Languages and Options
|
||||||
|
|
||||||
One of the following language codes is set in `lang`.
|
One of the following language codes is set in `lang`.
|
||||||
|
@ -61,7 +71,7 @@ Options are optionally set in `options`, which is a semicolon-delimited list of
|
||||||
- `cs` C# (Mono)
|
- `cs` C# (Mono)
|
||||||
- `e` evaluates a single expression instead of a module
|
- `e` evaluates a single expression instead of a module
|
||||||
- `elixir` Elixir
|
- `elixir` Elixir
|
||||||
- `fs` F#
|
- `fs` F# (Mono)
|
||||||
- `go` Go
|
- `go` Go
|
||||||
- `hs` Haskell (GHC)
|
- `hs` Haskell (GHC)
|
||||||
- `e` evaluates a single expression instead of a module
|
- `e` evaluates a single expression instead of a module
|
||||||
|
|
Loading…
Reference in a new issue