Co

Compiler for Cool Using LLVM

Hacker News

Compiler for Cool Using LLVM

https://github.com/rickBuczynski/coolang A while ago I followed the coursera compilers course that used COOL but I was interested in writing a compiler that could run on windows too, didn't use a parser generator, and compiled to a native executable instead of using a MIPS emulator. So I wrote a new COOL compiler without using any skeleton code from a course. The compiler supports windows and linux. If you're using LLVM for a project you might learn some tricks here. Especially if you're targeting windows, some things like generating the correct linker command and supporting both 32 and 64 bit are tricky.

Share card

Actual performance

3points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports · Missing: reddit linkedin, podcasting, created
64%64% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, using, code · Missing: mac, agents, macos
57%57% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Missing: https docs, excited, just released
53%53% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Co
Cool Shoppable Setups30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cool Shoppable Setups

Hacker News1
Co
Cool Concepts38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cool Concepts

Hacker News1
Co
Cool HTML5 Clouds on Cloudiff61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cool HTML5 Clouds on Cloudiff

Hacker News2
Th
This IS FREAKING COOL39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

This IS FREAKING COOL

Hacker News3
CoolTimer
CoolTimer42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cool concurrent countdowns, stopwatches, and alarms.

Indie Hackers1productivity
Wa
Wanted AI functions in Vue, ended with something cool35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Wanted AI functions in Vue, ended with something cool

Hacker News3
NameboxMail
NameboxMail18%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

🐉@🔥.💎 文字@文字.文字 cool@cool.cool — your name, your way!

Product Hunt+6
Co
Cool Symbol – Cool Text Generator35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cool Symbol – Cool Text Generator

Hacker News2
No
Nomino, a cool name for your product36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nomino, a cool name for your product

Hacker News3
Su
Suggest cool products on SproutUp26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Suggest cool products on SproutUp

Hacker News1