fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.04k stars 711 forks source link

[htmlparser2] add 'endIndex' to 'locationProps' #705

Closed vassudanagunta closed 5 months ago

vassudanagunta commented 6 months ago

Hide Location Data should hide this prop as well. (Note its use in nodeToRange)

vassudanagunta commented 6 months ago

Felix, while I've got your attention: Would you use React and Expressjs if you were building ASTExplorer from scratch today? If not, what?

I'm building a playground app for some new tech I'm doing on the side. So far it's hand coded HTML, CSS and HTML. Coding is not my day job, I'm a relative amateur, so would prefer not to use a platform with a long/hard leaning curve or one that's gonna make my brain hurt (I'm not young any more).

I'm just very impressed with the elegance and power, yet simplicity of ASTExplorer so thought I'd ask you. :)

fkling commented 5 months ago

Thank you @vassudanagunta!

Would you use React and Expressjs if you were building ASTExplorer from scratch today? If not, what?

A lot has changed in the last ~9 years. Personally I've found using Svelte/SvelteKit delightful to use. From what others it seems to be easier to approach for people not as familiar with frontend development.

I'm just very impressed with the elegance and power, yet simplicity of ASTExplorer so thought I'd ask you. :)

Thank you, it makes me happy to hear that :) That's kind of wait I'm aiming for :D