Giter Club home page Giter Club logo

gauche-mode's Introduction

gauche-mode.el Build Status

An Emacs major mode for Gauche Scheme Interpreter.

Requirements

  • Emacs 24.4 or later

Installation

M-x package-install-file

Features

  • syntax highlighting for regexps, char-sets, etc.
  • info-look for the reference manual
  • indentation for Gauche-specific syntaxes

Configuration

(setq gauche-mode-info-language 'en) ; or 'ja

Keybindings

gauche-mode-toggle-debug-print C-c C-d

(list |(fact 10))
;; -->
(list #?=(fact 10))

(list #|?=(fact 10))
;; -->
(list (fact 10))

gauche-mode-toggle-datum-comment C-c ;

(list |(foo 42) (bar))
;; -->
(list #;(foo 42) (bar))

(list #|;(foo 42) (bar))
;; -->
(list (foo 42) (bar))

gauche-mode-export-current-symbol C-c M-x

(define-module foo.bar
  (export))

(define |baz 42)
;; -->
(define-module foo.bar
  (export baz))

(define |baz 42)

With a prefix argument, you can export symbols with renaming.

(define-module foo.bar
  (export))

(define |baz 42)
;; C-u C-c M-x
;; export-as: quux
;; -->
(define-module foo.bar
  (export (rename baz quux)))

(define |baz 42)

gauche-mode-macroexpand C-c M-m

(llist* 1 2 3)
|
;; -| (cons 1 (lcons* 2 3))

gauche-mode-macroexpand-1 C-c C-m

(llist* 1 2 3)
|
;; -| (lcons* 1 2 3)

gauche-paredit.el

Gauche-aware paredit-mode.

How to use

M-x enable-gauche-paredit-mode or put below in your configuration file.

(add-hook 'gauche-mode-hook #'enable-gauche-paredit-mode)

gauche-mode's People

Contributors

gengar avatar leque avatar

Watchers

 avatar  avatar  avatar

Forkers

gengar duckwork

gauche-mode's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.