Comments (2)
I found out about ghci-pretty.
from ghc-syntax-highlighter.
This would be a feature request for GHC, not for ghc-syntax-highlighter
. GHC is in a good position to use its own tokenizer to highlight the code it outputs (and it cannot really depend on ghc-syntax-highlighter
anyway because it's not a boot library).
I do not know how difficult would it be to implement it though.
from ghc-syntax-highlighter.
Related Issues (10)
- Improve readme HOT 2
- ghc-lib-parser-8.8.2 out of bounds for ghc-syntax-highlighter-0.0.5.0 HOT 2
- conflicting bounds on 0.6.0.0 HOT 4
- ifdefs on a case expression makes "tokenizeHaskellLoc" return "Nothing" HOT 2
- Provide just span locations
- Provide both span locations and input chunks...
- Given language extensions as parameter or detect them from `.cabal` file HOT 3
- File header pragmas not recognised HOT 3
- VariableTok token too broad 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 ghc-syntax-highlighter.