Browse Source

add a license and a readme

Lucas Stadler 11 years ago
parent
commit
bee0d232b6
2 changed files with 66 additions and 0 deletions
  1. 21 0
      go/linguaevalia/LICENSE
  2. 45 0
      go/linguaevalia/README.md

+ 21 - 0
go/linguaevalia/LICENSE

@ -0,0 +1,21 @@
1
The MIT License (MIT)
2
3
Copyright (c) 2015 Lucas Stadler
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is
10
furnished to do so, subject to the following conditions:
11
12
The above copyright notice and this permission notice shall be included in all
13
copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
SOFTWARE.

+ 45 - 0
go/linguaevalia/README.md

@ -0,0 +1,45 @@
1
# Lingua evalia
2
3
A tiny web service that runs code for you. You open it, start writing code
4
immediately and then run it. What you don't do is worry about file names,
5
which command it was you had to use to run the code and so on.
6
7
Just write the code.
8
9
## Quickstart
10
11
* `go get github.com/heyLu/lp/go/linguaevalia`
12
* `$GOPATH/bin/linguaevalia`
13
* visit <http://localhost:8000> and start writing code
14
15
Essentially just need `go`, but to run code in other languages, you need
16
to have them installed as well.
17
18
## Languages
19
20
- `go`
21
- `python`
22
- `ruby`
23
- `javascript`
24
- `haskell`
25
- `rust`
26
- `julia`
27
- `pixie`
28
29
Adding more is relatively simple: If there is a command that runs code in
30
a language given a file, just add [the appropriate line](./linguaevalia.go#L40-L47)
31
and a corresponding mapping to `languageMappings`.
32
33
If there isn't, you can either write a wrapper to do that (similar to the
34
[one for rust](./bin/run-rust)) or you can implement the `Language`
35
interface.
36
37
## Contributions and feedback welcome!
38
39
Tell me what you do with it, when it helped you, what you're missing.
40
41
Have fun!
42
43
## License
44
45
[MIT](./LICENSE)