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
541 B
Racket
17 lines
541 B
Racket
#lang br/quicklang
|
|
(module reader br
|
|
(require "reader.rkt")
|
|
(provide read-syntax get-info)
|
|
(define (get-info port src-mod src-line src-col src-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))
|
|
|