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

XEROX-TO-XBM defined only when loaded interpreted but not compiled #2044

Open
pamoroso opened this issue Feb 22, 2025 · 1 comment
Open

XEROX-TO-XBM defined only when loaded interpreted but not compiled #2044

pamoroso opened this issue Feb 22, 2025 · 1 comment

Comments

@pamoroso
Copy link
Contributor

The XEROX-TO-XBM LispUsers module is an unmanaged Common Lisp file that defines the single function XCL-USER::XEROX-TO-XBM.

When loading the compiled file XEROX-TO-XBM.LCOM with FILESLOAD no function gets defined and XEROX-TO-XBM can't be called. To define and call the function I must load the source file xerox-to-xbm.lisp with LOAD as in this session:

4_ (FILESLOAD XEROX-TO-XBM)

{DSK}<home>paolo>medley>medley>lispusers>XEROX-TO-XBM.LCOM;1
compiled on 15-Sep-94 10:16:46
({DSK}<home>paolo>medley>medley>lispusers>XEROX-TO-XBM.LCOM;1)
5_ (APROPOS "XEROX-TO-XBM")
XEROX-TO-XBM.LCOM   -proplist: (FILE ((XEROX-TO-XBMCOMS . T)) FILEDATES ((
"15-Sep-94 10:16:46" . 
{DSK}<home>paolo>medley>medley>lispusers>XEROX-TO-XBM.LCOM;1)))
NIL
6_ (LOAD '{MEDLEY}lispusers>xerox-to-xbm.lisp)

{MEDLEY}<lispusers>xerox-to-xbm.lisp;1
; Finished loading {MEDLEY}<lispusers>xerox-to-xbm.lisp;1, 2838 bytes read
{MEDLEY}<lispusers>xerox-to-xbm.lisp;1
7_ (APROPOS "XEROX-TO-XBM")
XCL-USER::XEROX-TO-XBM 
                    -function: U
XEROX-TO-XBM.LCOM   -proplist: (FILE ((XEROX-TO-XBMCOMS . T)) FILEDATES ((
"15-Sep-94 10:16:46" . 
{DSK}<home>paolo>medley>medley>lispusers>XEROX-TO-XBM.LCOM;1)))
NIL

Shouldn't the compiled file have the .DFASL extension? Was the source compiled with TCOMPL instead of COMPILE-FILE?

@nbriggs
Copy link
Contributor

nbriggs commented Feb 22, 2025

Yes. See the documentation - Ramana says it was a dfasl.

Subject: Converter for Xerox Bitmaps to X bitmaps.
To: Lispusers^.x
cc: Rao.pa

{ERINYES}<LispUsers>medley>xerox-to-xbm.lisp
{ERINYES}<LispUsers>medley>xerox-to-xbm.dfasl

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

2 participants