You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-demo/jsonic-2/main.rkt

17 lines
534 B
Racket

8 years ago
#lang br/quicklang
(module reader br
8 years ago
(require "reader.rkt")
8 years ago
(provide read-syntax get-info)
(define (get-info port mod line col pos)
(define (handle-query key default)
(case key
8 years ago
[(color-lexer)
(dynamic-require 'br/demo/jsonic-2/colorer 'color-jsonic)]
[(drracket:indentation)
(dynamic-require 'br/demo/jsonic-2/indenter 'indent-jsonic)]
[(drracket:toolbar-buttons)
8 years ago
(dynamic-require 'br/demo/jsonic-2/buttons 'button-list)]
8 years ago
[else default]))
handle-query))