More readme stuffs

This commit is contained in:
1computer1 2019-05-14 21:05:12 -04:00
parent aeeb437ab6
commit 350acc8f89

View file

@ -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