TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automatic compilation of partially available C source code

129 pointsby vivagnabout 8 years ago

6 comments

the8472about 8 years ago
Aiui Eclipse JDT (and probably other IDEs too) do something similar. It takes code that currently is not valid and tries to massage the AST until it becomes valid so that it can perform type-inference and use the type information to offer valid autocomplete suggestions even at the currently invalid location.
评论 #14183953 未加载
kensaiabout 8 years ago
Can somebody in simple but technical terms explain how this works? (I tried to no avail)
评论 #14166263 未加载
nonsinceabout 8 years ago
I wish it was called "Psychi-c"
bfleschabout 8 years ago
This should've been around in my early days learning C and trying to get my project to compile :)
tobyhinloopenabout 8 years ago
Neat.
Kenjiabout 8 years ago
The header code generated contains<p><i>typedef int bool;</i><p>I am not sure if I want that in my header.
评论 #14166429 未加载
评论 #14183909 未加载
评论 #14166425 未加载
评论 #14167088 未加载