#lang s-exp syntax/module-reader

typed/racket

#:read r:read
#:read-syntax r:read-syntax
#:info make-info
#:language-info make-language-info

(define (make-info key default use-default)
  (case key
    [(drscheme:toolbar-buttons)
     (list (dynamic-require 'typed-racket/optimizer/tool/tool
                            'performance-report-drracket-button))]
    [else (use-default key default)]))

(define make-language-info
  `#(typed-racket/language-info get-info ()))


(require (prefix-in r: typed-racket/typed-reader))
