Skip to content

veelenga/play-crystal.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-crystal.el

https://play.crystal-lang.org integration.


License GPLv3 Build Status MELPA

play.crystal-lang.org is a web resource to submit/run/share Crystal code.

This package allows you to use this resource without exiting your favorite Emacs.

Features:

  • Allows to fetch code into Emacs buffers from play.crystal-lang.org
  • Allows to submit code to play.crystal-lang.org directly from Emacs
  • Allows to browse play.crystal-lang.org

Usage

Run one of the predefined interactive functions.

See Function Documentation for details.

Function Documentation

(play-crystal-insert RUN-ID)

Insert code identified by RUN-ID into the current buffer.

(play-crystal-insert-another-buffer RUN-ID)

Insert code identified by RUN-ID into another buffer.

(play-crystal-browse RUN-ID)

Show code identified by RUN-ID in a browser using ’browse-url’.

(play-crystal-submit-region)

Create new run submitting code from the current region.

(play-crystal-submit-buffer)

Create new run submitting code from the current buffer.