Comments (3)
I agree that ignoring an expression such as #garbage
when *read-suppress*
is true could be useful, but I see two problems:
-
#g
could initiate an arbitrary syntax so it is not clear how to skip over it. -
The entry for Variable
*read-suppress*
saysDispatching macro characters (including sharpsign)
Dispatching macro characters continue to parse an infix numerical argument, and invoke the dispatch function. The standardized sharpsign reader macros do not enforce any constraints on either the presence of or the value of the numerical argument.
I take this to mean that the dispatch function is invoked and either calls a user-supplied function if the user has installed one in the readtable or calls a standard macro function or signals an error according to the table in 2.4.8 Sharpsign.
Did you find passages implying the behavior you propose?
from eclector.
From testing a few implementations in seems ABCL, CMUCL, SBCL skip over the token, and Allegro, CCL, Clasp, Clisp, ECL reject it.
from eclector.
See https://irclog.tymoon.eu/freenode/%23sicl?around=1551169235#1551169235
from eclector.
Related Issues (20)
- `#',a -> ECLECTOR.READER:UNQUOTE-IN-INVALID-CONTEXT HOT 7
- QUASIQUOTE can't handle circular lists HOT 1
- Definition of eclector.readtable:readtablep seem to be forgotten
- Error in fixup for standard-object HOT 1
- Issues with #S reader from eclector HOT 8
- Allow recovering from syntax errors when possible
- Invalid ## expression signals an error when *READ-SUPPRESS* is true
- read-from string error with float and *read-base* HOT 1
- Read-delimited-list issue HOT 1
- Handle reading of floating point numbers better HOT 5
- Single quote bug in parse-result HOT 5
- (read-from-string "#c ( #xF #o-1 ) ") not allowed in eclector HOT 2
- Empty escapes are not incorporated into number ID
- Cannot generate the paper PDF. HOT 3
- diagrams in eclector documentation don't fit the page HOT 1
- read-from-string's source don't take into account `:start` HOT 2
- Query: is the source code for the demonstrations from your presentation available? HOT 5
- Tests that print circular structures need to bind *print-circle* nto T
- read-time GENSYM call tests to fail HOT 4
- Package Local Readtables HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclector.