TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why aren't we using syntax-directed editors

3 点作者 joelg超过 8 年前
Most editors parse code into an internal syntax tree for highlighting and type-checking and such, but still make us edit the text directly.<p>This seems ridiculous to me. Syntax and type errors should be impossible to create in the first place. Why aren&#x27;t we manipulating code directly? Is it hard to learn? Is it hard to use? Has it been tried?<p>The more I think about it the more odd it seems that we never abstracted beyond raw text.

暂无评论

暂无评论