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
|
||||
code
|
||||
```
|
||||
````
|
||||
|
||||
````
|
||||
>options```lang
|
||||
code
|
||||
```
|
||||
|
@ -20,7 +22,9 @@ code
|
|||
|
||||
```
|
||||
>`lang code`
|
||||
```
|
||||
|
||||
```
|
||||
>options`lang code`
|
||||
```
|
||||
|
||||
|
@ -35,7 +39,9 @@ int main()
|
|||
std::cout << "Hello World!" << std::endl;
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
````
|
||||
>harmony```js
|
||||
class Foo {
|
||||
bar = 1;
|
||||
|
@ -43,12 +49,16 @@ class Foo {
|
|||
|
||||
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
|
||||
|
||||
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)
|
||||
- `e` evaluates a single expression instead of a module
|
||||
- `elixir` Elixir
|
||||
- `fs` F#
|
||||
- `fs` F# (Mono)
|
||||
- `go` Go
|
||||
- `hs` Haskell (GHC)
|
||||
- `e` evaluates a single expression instead of a module
|
||||
|
|
Loading…
Reference in a new issue