Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Patricia Ferreira Newsgroups: pt.comp.programacao Subject: sobre common lisp e o sistema de arquivos Date: Mon, 22 Jan 2024 09:05:27 -0300 Organization: A noiseless patient Spider Lines: 40 Message-ID: <87v87la7zs.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: dont-email.me; posting-host="9d8e47db7029a7e6a20558c79fff5b69"; logging-data="769464"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+A4G/S/Izo/cps5hKvaDPcG/JT53wo8wY=" Cancel-Lock: sha1:feOsck7Sboq8dvWoUCXeAG+FznE= sha1:+snLPHihKdyhkJ5EGC7EU/FDY28= Xref: csiph.com pt.comp.programacao:184 Tenho lido vários pedaços de documentação Common Lisp por aí, livros incluindo. Antes de falar com o sistema de arquivos, vale a pena ler o capítulo 14 de Peter Seibel ``Practical Common Lisp''. --8<---------------cut here---------------start------------->8--- Files and File I/O https://gigamonkeys.com/book/files-and-file-io.html ``When pathnames were designed, the set of file systems in general use was quite a bit more variegated than those in common use today. Consequently, some nooks and crannies of the pathname abstraction make little sense if all you're concerned about is representing Unix or Windows filenames.'' --8<---------------cut here---------------end--------------->8--- Uma das coisas legais de Common Lisp é essa. É uma linguagem realmente antiga que levava em consideração uma série de sistemas que não se vê mais. É uma oportunidade pra entender melhor a evolução da coisa. --8<---------------cut here---------------start------------->8--- The historical diversity of file systems in existence during the 70s and 80s can be easy to forget. Kent Pitman, one of the principal technical editors of the Common Lisp standard, described the situation once in comp.lang.lisp (Message-ID: sfwzo74np6w.fsf@world.std.com) thusly: The dominant file systems at the time the design [of Common Lisp] was done were TOPS-10, TENEX, TOPS-20, VAX VMS, AT&T Unix, MIT Multics, MIT ITS, not to mention a bunch of mainframe [OSs]. Some were uppercase only, some mixed, some were case-sensitive but case- translating (like CL). Some had dirs as files, some not. Some had quote chars for funny file chars, some not. Some had wildcards, some didn't. Some had :up in relative pathnames, some didn't. Some had namable root dirs, some didn't. There were file systems with no directories, file systems with non-hierarchical directories, file systems with no file types, file systems with no versions, file systems with no devices, and so on. --8<---------------cut here---------------end--------------->8--- Duvido que alguém consiga localizar a mensagem original de Kent Pitman.