removed some junk from libchezio
This commit is contained in:
parent
c33c80285e
commit
df16339018
|
@ -178,3 +178,33 @@
|
|||
;;; pretty-print prints when it is called. If set to #f (the default),
|
||||
;;; no limit is imposed; if set to a nonnegative fixnum n, at most n
|
||||
;;; lines are printed.
|
||||
|
||||
|
||||
|
||||
(let ()
|
||||
;;; <fmt> ::= (quote symbol)
|
||||
;;; | var
|
||||
;;; | symbol
|
||||
;;; | (read-macro string symbol)
|
||||
;;; | (meta)
|
||||
;;; | (bracket . fmt-list)
|
||||
;;; | (alt fmt fmt*)
|
||||
;;; | fmt-list
|
||||
;;; fmt-list ::= ()
|
||||
;;; | (tab fmt ...)
|
||||
;;; | (fmt tab ...)
|
||||
;;; | (tab fmt . fmt-list)
|
||||
;;; | (fmt ...)
|
||||
;;; | (fmt . fmt-list)
|
||||
;;; | (fill tab fmt ...)
|
||||
;;; tab ::= int
|
||||
;;; | #f
|
||||
|
||||
|
||||
)
|
||||
|
||||
(pretty-format
|
||||
'([letrec (_ ((x _) ...) #t _ _ ...)]
|
||||
[let (_ x ([x _] 0 ...) #t _ _ ...)]
|
||||
[cond (_ (or (_ 0 _) (_ '=> 0 _)) ...)]
|
||||
|
||||
|
|
BIN
lib/ikarus.boot
BIN
lib/ikarus.boot
Binary file not shown.
|
@ -34,23 +34,6 @@
|
|||
;;; (set-port-output-index! port fixnum)
|
||||
;;; (set-port-output-size! port fixnum)
|
||||
;;;
|
||||
#;(begin
|
||||
;;; uncomment this form to use the compiler's definition
|
||||
;;; of ports; otherwise, ports are represented as vanilla
|
||||
;;; records.
|
||||
($define-record-syntax port
|
||||
(handler input-buffer input-index input-size
|
||||
output-buffer output-index output-size))
|
||||
(define-syntax port? (identifier-syntax $port?))
|
||||
(define-syntax input-port?
|
||||
(syntax-rules ()
|
||||
[(_ x) (identifier? #'x)
|
||||
(and ($port? x) (string? ($port-input-buffer x)))]))
|
||||
(define-syntax output-port?
|
||||
(syntax-rules ()
|
||||
[(_ x) (identifier? #'x)
|
||||
(and ($port? x) (string? ($port-output-buffer x)))])))
|
||||
;;;
|
||||
(primitive-set! 'port?
|
||||
(lambda (x) (port? x)))
|
||||
;;;
|
||||
|
@ -390,8 +373,6 @@
|
|||
($flush-output-port p)
|
||||
(error 'flush-output-port "~s is not an output-port" p))])))
|
||||
|
||||
|
||||
|
||||
(let ()
|
||||
;;; INPUT FILES
|
||||
(include "message-case.ss")
|
||||
|
|
Loading…
Reference in New Issue