wandbox

Homepage: https://github.com/kosh04/emacs-wandbox

Author: KOBAYASHI Shigeru (kosh)

Updated:

Summary

Wandbox client

Commentary

wandbox.el is wandbox (online compiler) client tool.
You can compile and run code snippets by using wandbox API.

Wandbox Home: https://wandbox.org

Example
-------

## Use Interactive

M-x wandbox                 - Alias `wandbox-compile-buffer'
M-x wandbox-compile-file    - Compile with file contents
M-x wandbox-compile-region  - Compile marked region
M-x wandbox-compile-buffer  - Compile current buffer
M-x wandbox-insert-template - Insert template snippet
M-x wandbox-list-compilers  - Display copilers list

Note: if `#wandbox param: value` token found on selected file/buffer,
wandbox-compile-file/buffer compiles using those params.

## Use on Emacs Lisp

(wandbox :compiler "gcc-head" :options "warning" :code "main(){}")
(wandbox :lang "C" :compiler-option "-lm" :file "/path/to/prog.c" :save t)
(wandbox :lang "perl" :code "while (<>) { print uc($_); }" :stdin "hello")
(wandbox :lang "ruby" :code "p ARGV" :runtime-option '("1" "2" "3"))
(wandbox :profiles [(:name "php HEAD") (:name "php")] :code "

    

Dependencies