Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing pathnames features #1598

Open
pamoroso opened this issue Mar 20, 2024 · 5 comments
Open

Missing pathnames features #1598

pamoroso opened this issue Mar 20, 2024 · 5 comments

Comments

@pamoroso
Copy link
Contributor

The following features are missing from Medley's implementation of Common Lisp pathnames:

  • #p reader macro
  • :absolute and :relative directory components

This was discovered when evaluating the compatibility of Medley Common Lisp with ANSI Comon Lisp in issue #609, specifically by testing the files and I/O code of the book Practical Common Lisp.

@Anzus
Copy link
Contributor

Anzus commented Mar 20, 2024 via email

@pamoroso
Copy link
Contributor Author

As far as I know the CLtL2 directory is missing from Medley Online, so I downloaded the file from the repo and uploaded it. But, when loading CMLPATHNAME.LCOM from a XCL Exec, most of the times I get a break window with the error External symbol LOGICAL-PATHNAME not found in package LISP:

cmlpathname-error

When the break window doesn't open and I evaluate a #p expression such as #p"file.txt" I get the same error Undefined dispatch character #\P for dispatch macro character #\#.

@Anzus
Copy link
Contributor

Anzus commented Mar 20, 2024 via email

@MattHeffron
Copy link
Contributor

CL:LOGICAL-PATHNAME is defined in the CMLPATHNAME source file both as DEFSTRUCT (line 43) and as DEFUN (line 193)

@masinter
Copy link
Member

There are package problems with the CLTL2 files.. the COMMON-LISP package is built specially before packaging is enabled see PACKAGING-ENABLE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants