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.
17 lines
534 B
Racket
17 lines
534 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 'br/demo/jsonic-2/colorer 'color-jsonic)]
|
|
[(drracket:indentation)
|
|
(dynamic-require 'br/demo/jsonic-2/indenter 'indent-jsonic)]
|
|
[(drracket:toolbar-buttons)
|
|
(dynamic-require 'br/demo/jsonic-2/buttons 'button-list)]
|
|
[else default]))
|
|
handle-query))
|
|
|