Linux 98.203.178.68.host.secureserver.net 4.18.0-553.164.1.el8_10.x86_64 #1 SMP Thu Sep 17 04:21:10 EDT 2026 x86_64
Apache
Server IP : 68.178.203.98 & Your IP : 216.73.217.121
Domains : 108 Domain
User : lostrivercommuni
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
guile /
2.0 /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
api-diff.scm
7.49
KB
-rw-r--r--
2019-10-13 01:10
autofrisk.scm
7.67
KB
-rw-r--r--
2019-10-13 01:10
compile.scm
7.5
KB
-rw-r--r--
2019-10-13 01:10
disassemble.scm
1.39
KB
-rw-r--r--
2019-10-13 01:10
display-commentary.scm
2.39
KB
-rw-r--r--
2019-10-13 01:10
doc-snarf.scm
14.84
KB
-rw-r--r--
2019-10-13 01:10
frisk.scm
11.44
KB
-rw-r--r--
2019-10-13 01:10
generate-autoload.scm
5.74
KB
-rw-r--r--
2019-10-13 01:10
help.scm
6.28
KB
-rw-r--r--
2019-10-13 01:10
lint.scm
9.62
KB
-rw-r--r--
2019-10-13 01:10
list.scm
3.15
KB
-rw-r--r--
2019-10-13 01:10
punify.scm
2.88
KB
-rw-r--r--
2019-10-13 01:10
read-rfc822.scm
4.96
KB
-rw-r--r--
2019-10-13 01:10
read-scheme-source.scm
11.68
KB
-rw-r--r--
2019-10-13 01:10
read-text-outline.scm
10.41
KB
-rw-r--r--
2019-10-13 01:10
scan-api.scm
8.09
KB
-rw-r--r--
2019-10-13 01:10
snarf-check-and-output-texi.scm
9.93
KB
-rw-r--r--
2019-10-13 01:10
snarf-guile-m4-docs.scm
2.86
KB
-rw-r--r--
2019-10-13 01:10
summarize-guile-TODO.scm
8.25
KB
-rw-r--r--
2019-10-13 01:10
use2dot.scm
3.92
KB
-rw-r--r--
2019-10-13 01:10
Save
Rename
;;; punify --- Display Scheme code w/o unnecessary comments / whitespace ;; Copyright (C) 2001, 2006 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU Lesser General Public License ;; as published by the Free Software Foundation; either version 3, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; Lesser General Public License for more details. ;; ;; You should have received a copy of the GNU Lesser General Public ;; License along with this software; see the file COPYING.LESSER. If ;; not, write to the Free Software Foundation, Inc., 51 Franklin ;; Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; Author: Thien-Thi Nguyen ;;; Commentary: ;; Usage: punify FILE1 FILE2 ... ;; ;; Each file's forms are read and written to stdout. ;; The effect is to remove comments and much non-essential whitespace. ;; This is useful when installing Scheme source to space-limited media. ;; ;; Example: ;; $ wc ./punify ; ./punify ./punify | wc ;; 89 384 3031 ./punify ;; 0 42 920 ;; ;; TODO: Read from stdin. ;; Handle vectors. ;; Identifier punification. ;;; Code: (define-module (scripts punify) :export (punify)) (define %include-in-guild-list #f) (define %summary "Strip comments and whitespace from a Scheme file.") (define (write-punily form) (cond ((and (list? form) (not (null? form))) (let ((first (car form))) (display "(") (write-punily first) (let loop ((ls (cdr form)) (last-was-list? (list? first))) (if (null? ls) (display ")") (let* ((new-first (car ls)) (this-is-list? (list? new-first))) (and (not last-was-list?) (not this-is-list?) (display " ")) (write-punily new-first) (loop (cdr ls) this-is-list?)))))) ((and (symbol? form) (let ((ls (string->list (symbol->string form)))) (and (char=? (car ls) #\:) (not (memq #\space ls)) (list->string (cdr ls))))) => (lambda (symbol-name-after-colon) (display #\:) (display symbol-name-after-colon))) (else (write form)))) (define (punify-one file) (with-input-from-file file (lambda () (let ((toke (lambda () (read (current-input-port))))) (let loop ((form (toke))) (or (eof-object? form) (begin (write-punily form) (loop (toke))))))))) (define (punify . args) (for-each punify-one args)) (define main punify) ;;; punify ends here