Viewing profile — unusualcool
unusualcool
HN member- Joined
- Fri, Apr 21, 2017, 1:21 PM UTC
- HN karma
- 55
- Public activity
- 14 items
- HN profile
- View on Hacker News ↗
About unusualcool
No profile information was provided.
Recent public activity
- story
-
story
What's your opinion on adding generic functions (parametric polymorphism) in C?
I'm working on a research project about C and, at the moment, I'm investigating the possibility of introducing/proposing generic functions (and parametric polymorphism) to the lang…
- story
-
story
A (backtracking-aware) parsing table for expressions of the C language
This is a table I created to aid me during a rewrite of the Psyche-C project's parser (and underlying grammar). I'm not sure whether the table's "encoding" will be clear to everyon…
- story
- story
- story
-
comment
Comment #20919821
Sorry, it wasn't my intention to be tricky, that's why I added "enabled by psychec" to the subject line. I hope that, once landing at the project page, it should be obvious that su…
-
comment
Comment #20919707
This needs to be made clearer in the readme: C++ and Haskell are requirements for building the type inference engine; Python is necessary for invoking the frontend (or the binaries…
- story
-
comment
Comment #14183969
Exactly. Some programs are inherently ambiguous. In such cases, we cannot do much. - Example 1: `void f(){x * y;}` It's impossible to know whether that is a multiplication or point…
-
comment
Comment #14183953
Yes, a few IDEs perform some disambiguation during parse. But notice that the ability to deal with ambiguities and to come up with a proper AST is just step 0 of the pipeline. The …
-
comment
Comment #14183930
You're right, it's not always used. Please notice my other answer above, the project is still a prototype. Eventually, we'll filter what actually goes to the generated header and w…
-
comment
Comment #14183909
Indeed, this can be an arguable choice. But notice the project is still in research, it's not an end-user product yet. Eventually, we'll offer options so the user can specifier whe…