I'am glad to share with you my little experiment of writing lexers, it's was such funny so i decided share the result with community :)
Meet Pigment! It may be useful for writing internal/personal scripts require showing the JSON data, when you faced with lack of flexibility of existing libs (not all support custom color themes, styling - bold, underline etc) or no need all their features (e.g. huge lib which can be colorize 20+ different data format, but you need only the one - json).
I'am glad to share with you my little experiment of writing lexers, it's was such funny so i decided share the result with community :)
Meet Pigment! It may be useful for writing internal/personal scripts require showing the JSON data, when you faced with lack of flexibility of existing libs (not all support custom color themes, styling - bold, underline etc) or no need all their features (e.g. huge lib which can be colorize 20+ different data format, but you need only the one - json).
Demo: https://imgur.com/ojdMg7W Project home: https://github.com/1buran/pigment