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

17 lines
525 B
Racket

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