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-demo-2/main.rkt

17 lines
541 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)
8 years ago
(define (get-info port src-mod src-line src-col src-pos)
8 years ago
(define (handle-query key default)
(case key
8 years ago
[(color-lexer)
8 years ago
(dynamic-require 'jsonic-demo-2/colorer 'color-jsonic)]
8 years ago
[(drracket:indentation)
8 years ago
(dynamic-require 'jsonic-demo-2/indenter 'indent-jsonic)]
8 years ago
[(drracket:toolbar-buttons)
8 years ago
(dynamic-require 'jsonic-demo-2/buttons 'button-list)]
8 years ago
[else default]))
handle-query))