Simre1 / neorg-haskell-parser

MIT License
91 stars 7 forks source link

Lua vs Haskell for Pandoc Custom Readers/Writers #11

Closed raj-magesh closed 1 year ago

raj-magesh commented 1 year ago

Hey, thanks for your work on the Neorg parser! I was skimming the Pandoc documentation when I noticed that custom readers/writers are typically written in Lua and not Haskell. Is there a specific reason you chose to implement the parser in Haskell?

Simre1 commented 1 year ago

The only reason why the parser isn’t done in Lua is that I prefer to develop in Haskell. If you want to implement a custom reader in Lua, then feel free to go ahead. My current Haskell parser is severely out of date with regards to the Neorg advancements, so an updated parser would definitely be needed.

raj-magesh commented 1 year ago

I see, thank you! If I get some free time, I'll learn how Treesitter works and try to parse that AST using Lua.