🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.lisp
Article #595

Re: Changing syntax of characters in Franz

#595
From: Anthony Albert
Date: Sat, 14 Jun 1986 20:58
24 lines
1880 bytes
In article <14352@ucbvax.BERKELEY.EDU> albert@kim.Berkeley.EDU.UUCP (Anthony Albert) writes:
>In article <1126@ellie.UUCP> colonel@ellie.UUCP (Col. G. L. Sicherman) writes:
>>> (3) Assuming a character's syntax has been reset as a "vmacro," how can you 
>>> find out exactly what function the character has been set to (short of typing 
>>> it and observing what Lisp does)?  Is there a way for a program to find out?
>>
>>I've done it, but I've forgotten how.  You may need to consult the oblist.
>>-- 
>>Col. G. L. Sicherman
>
>You can use getsyntax (e.g. (getsyntax '\X)) to find out what class the
					  ^
>character is in. If it is in a "macro" class (e.g. vmacro, vsplicing-macro),
>the value of the function it is set to is assigned to the property which
>is the value of "readtable". Therefore, to get the name of the function, you
>can use (get '\X readtable). Of course, if the function has been compiled,
		^
>you still won't know what it does.

In my previous posting I should have explained that "X" is the character whose
syntax is being investigated.
				Anthony Albert
				..!ucbvax!kim!albert
				albert@kim.Berkeley.EDU
Technical Details
Message-ID: <14371@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!lll-crg!styx!nike!ucbcad!ucbvax!kim.Berkeley.EDU!albert
References: <555@bcsaic.UUCP> <1126@ellie.UUCP> <14352@ucbvax.BERKELEY.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!lll-crg!styx!nike!ucbcad!ucbvax!kim.Berkeley.EDU!albert
From: albert@kim.Berkeley.EDU (Anthony Albert)
Newsgroups: net.lang.lisp
Subject: Re: Changing syntax of characters in Franz
Message-ID: <14371@ucbvax.BERKELEY.EDU>
Date: Sat, 14-Jun-86 16:58:20 EDT
Article-I.D.: ucbvax.14371
Posted: Sat Jun 14 16:58:20 1986
Date-Received: Tue, 17-Jun-86 21:29:08 EDT
References: <555@bcsaic.UUCP> <1126@ellie.UUCP> <14352@ucbvax.BERKELEY.EDU>
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: albert@kim.Berkeley.EDU.UUCP (Anthony Albert)
Organization: University of California, Berkeley
Lines: 24