"icon octicon octicon-history"> Commits 261 Releases 1 Wiki

261 Commits (878ef71d75491c33b979b643c48a11a2b8d899cf)

Author SHA1 Message Date
  Lucas Stadler 878ef71d75 comment out (most likely) unused code. 11 years ago
  Lucas Stadler 5d5fd0ca92 implement toList. 11 years ago
  Lucas Stadler 889ef9c95e note some simple properties. 11 years ago
  Lucas Stadler def0a950d7 provide a Seq instance for the prelude list. 11 years ago
  Lucas Stadler 0582f53b92 add inspiration resources. 11 years ago
  Lucas Stadler a6a5ab84c6 let's have some fun with data structures. 11 years ago
  Lucas Stadler eb99f2b18e quickstart info. 11 years ago
  Lucas Stadler c6ba6b7de1 tiny getUserMedia/camera example. 11 years ago
  Lucas Stadler c452ef5918 add convenience function to create listeners. 12 years ago
  Lucas Stadler ec1ca4b97e typeclassopedia: a glimpse of functors. 12 years ago
  Lucas Stadler 1a58feb4fe excuse me but aren't your commit messages getting weird? 12 years ago
  Lucas Stadler 2ba612bf11 also, things are adorable. 12 years ago
  Lucas Stadler 8f74d64375 simple questions. 12 years ago
  Lucas Stadler 633a1a8fbe make cleaning up easier and make vim ignore .gfo's. 12 years ago
  Lucas Stadler 5d6013fe22 ponies and cuteness. 12 years ago
  Lucas Stadler 122e88301c slightly more complex animals grammar (english & german). 12 years ago
  Lucas Stadler 10c90f5a7f hello world using grammatical framework. 12 years ago
  Lucas Stadler 8691c0bb99 make vim kind-of highlight dynasm files. 12 years ago
  Lucas Stadler 74a1a1902e a brainfuck jit. kind of amazing. 12 years ago
  Lucas Stadler d001402dee add the same example using dynasm. 12 years ago
  Lucas Stadler f8ff55a720 add makefile to fetch dynasm. 12 years ago
  Lucas Stadler fa6df0d8b1 hello, jit world. 12 years ago
  Lucas Stadler 1cb0223bde print less debugging info. 12 years ago
  Lucas Stadler 658acc23cb fix oembed for non-successful requests. 12 years ago
  Lucas Stadler bd190e0d4b use oembed for vimeo and soundcloud. 12 years ago
  Lucas Stadler 2461859a9b support embedding some raw audio/video urls. 12 years ago
  Lucas Stadler 31508c0d96 support for soundcloud embeds via oembed. 12 years ago
  Lucas Stadler 0e8972bb87 pass the message parent element to allow deferred loading. 12 years ago
  Lucas Stadler 12a94dbba7 support markdown-like emphasis. 12 years ago
  Lucas Stadler e20af61104 trick vimeo to do html5 embeds on firefox. 12 years ago
  Lucas Stadler 39307e8b3d support links as well. 12 years ago
  Lucas Stadler 06d0bba23d allow embedding some videos and images. 12 years ago
  Lucas Stadler 213b115eea don't disrupt scrolling around in the history. 12 years ago
  Lucas Stadler 235f89cdb2 prevent the input box from getting out of view. 12 years ago
  Lucas Stadler 0228882781 allow adding custom message handlers easily. 12 years ago
  Lucas Stadler cb4b163be6 having rooms and names would be nice. 12 years ago
  Lucas Stadler 4a50a11db6 instructions for running this thing. 12 years ago
  Lucas Stadler e2071fe772 fix serving from a non-default host/port. 12 years ago
  Lucas Stadler 6a0bd40c8b try serving http and ws from the same server. 12 years ago
  Lucas Stadler c114be7200 how to websocket. some questions. 12 years ago
  Lucas Stadler b0135efd2a add old readme, still has relevant info. 12 years ago
  Lucas Stadler 5f08f2015f load the history on initial load. 12 years ago
  Lucas Stadler 76eb7fa979 add the simplest archiver possible. 12 years ago
  Lucas Stadler ea41ef2443 send a connect message as well. 12 years ago
  Lucas Stadler 8c7052a331 display the unhandled message along with the type. 12 years ago
  Lucas Stadler 093e50c67f send a message on disconnect of users. 12 years ago
  Lucas Stadler eb1be5574a extract broadcasting into a separate function. 12 years ago
  Lucas Stadler 4e5c7df470 hello, babl. 12 years ago
  Lucas Stadler 586daed127 allow unary operations. 12 years ago
  Lucas Stadler da959447eb only print out ast if DEBUG env var is set. 12 years ago
lp - git.papill0n.org

暫無描述

Lucas Stadler 049728acb4 Look for custom runners in PATH 9 年之前
..
bin 05ae4919b3 c++ 11 年之前
etc e54378152c set the cwd in the service file 11 年之前
.gitignore 44106d5cbd use codemirror for syntax highlighting 11 年之前
LICENSE bee0d232b6 add a license and a readme 11 年之前
Makefile 28503366a7 Make it easier to install linguaevalia 9 年之前
README.md 05ae4919b3 c++ 11 年之前
linguaevalia.go 049728acb4 Look for custom runners in PATH 9 年之前

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
  • c++

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.

Additional commands

linguaevalia can also be used to run programs directly, instead of using the server:

$ linguaevalia run hello-world.rb
Hello, World!
# or alternatively:
$ cat hello-world.rb | linguaevalia run -l ruby
Hello, World!

When passing code to the run command via stdin, you must set the language to be used using the -l flag as well. If a file name is passed, the type is inferred from the extension, but you can override it with -l if you want.

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