Comments (7)
Which commit have you cloned?
from cl-edn.
Sorry, it should work now. I didn’t actually push the commits I thought I had.
from cl-edn.
Great! Pulling master has it compiling. I appreciate you helping me with this.
I've now loaded cl-edn into my REPL, and tried:
* (edn:parse "foo")
debugger invoked on a SB-PCL:CLASS-NOT-FOUND-ERROR in thread
#<THREAD "main thread" RUNNING {10005505B3}>:
There is no class named EDN:FSET.
Am I reading the README right?
from cl-edn.
The README is probably outdated on this point. The system is divided into two parts: the reader and a bunch of synthesizers that convert EDN into lisp objects. (edn:parse "foo")
combines these two roles, (edn:read-edn "foo")
only reads the EDN into an AST. You'll have to also load a synthesizer implementation by doing something like (ql:quickload :cl-edn/fset)
.
Sorry about all the issues, I'm so used to the library that I'm bad at documenting it.
from cl-edn.
🙌 that worked! If it helps, I'll open up a PR with some additional instructions in the README.
I appreciate the help, and the library - I started learning Lisp to make some CLI apps leveraging EDN, and started to naively implement my own parser using the readtable, when I saw your library and figured I'd save myself the pain of that endeavor!
from cl-edn.
My parser works, I've been currently optimizing it for large inputs: right now, on sbcl, it takes about 6 seconds to process a 6.2MB EDN file that Clojure parses in a second or two. I think this might be because I'm using parser-combinators but, unless you're handling a lot of big files, it should be fast enough.
from cl-edn.
I've pushed some README changes, it'd be great to get a PR with some documentation changes from a new-user's perspective. Also, if you open-source anything, let me know if you want me to link it as an example use.
from cl-edn.
Related Issues (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 cl-edn.