Comments (1)
I have encountered this problem as well and have been thinking about solutions.
I don't think simply not consuming the whitespace is the right solution since that would make the behavior of eclector.parse-result:read
different from eclector.reader:read
.
A potential solution I have been experimenting with is calling eclector.reader:read-preserving-whitespace
instead of eclector.reader:read
from eclector.parse-result:read
. This could maybe be followed up by consuming any tailing whitespace. If this works, it would not consider the trailing whitespace in the source location but still skip it before returning to the caller.
from eclector.
Related Issues (20)
- Document error recovery
- `#',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
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.