Skip to content
Emacs to https://play.crystal-lang.org integration
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
Cask
LICENSE
Makefile
README.md
play-crystal.el

README.md

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.