Geen omschrijving

Lucas Stadler 0e4bf72acc document how to get a development setup 11 jaren geleden
..
bin 36b6baed3f supporting c might be a good idea 11 jaren geleden
.gitignore 44106d5cbd use codemirror for syntax highlighting 11 jaren geleden
LICENSE bee0d232b6 add a license and a readme 11 jaren geleden
Makefile 44106d5cbd use codemirror for syntax highlighting 11 jaren geleden
README.md 0e4bf72acc document how to get a development setup 11 jaren geleden
linguaevalia.go 44106d5cbd use codemirror for syntax highlighting 11 jaren geleden

README.md

Lingua evalia

A tiny web service that runs code for you. You open it, start writing code immediately and then run it. What you don't do is worry about file names, which command it was you had to use to run the code and so on.

Just write the code.

Quickstart

  • go get github.com/heyLu/lp/go/linguaevalia
  • $GOPATH/bin/linguaevalia
  • visit http://localhost:8000 and start writing code (press ctrl-enter to run the code)

Essentially just need go, but to run code in other languages, you need to have them installed as well.

Languages

(In order of adding them.)

  • go
  • python
  • ruby
  • javascript
  • haskell
  • rust
  • julia
  • pixie
  • c
  • bash
  • lua

Adding more is relatively simple: If there is a command that runs code in a language given a file, just add the appropriate line and a corresponding mapping to languageMappings.

If there isn't, you can either write a wrapper to do that (similar to the one for rust) or you can implement the Language interface.

Development setup

~ $ git clone git://github.com/heyLu/lp
~ $ cd lp/go/linguaevalia
~/lp/go/linguaevalia $ make               # download codemirror
~/lp/go/linguaevalia $ go run

Alternatively, replace go run with qst linguaevalia.go, to restart the server automatically if linguaevalia.go changes.

Contributions and feedback welcome!

Tell me what you do with it, when it helped you, what you're missing.

Have fun!

License

MIT