A

A lexer, parser, and WebAssembly bytecode generator for Pinky Lang

Hacker News

A lexer, parser, and WebAssembly bytecode generator for Pinky Lang

I wrote a compiler for the Pinky Scripting language that does code generation targeting wasm. It's written in TypeScript with the webassembly bytecodes mapped out to helper functions like i32.const(0) The url is to a playground where you can write code in the Pinky Scripting Language and see the tokens, ast, bytecode, and output. Pinky Lang has a straight-forward grammar and is designed to be used for learning about compilers.

Share card

Actual performance

1points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
55%55% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
52%52% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
50%50% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
47%47% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
39%39% 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
8%8% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ya
Yakety, a Recursive Descent Parser Generator for EBNF Grammars39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Yakety, a Recursive Descent Parser Generator for EBNF Grammars

Hacker News1
Cp
Cparse is an LR(1) parser generator for C39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cparse is an LR(1) parser generator for C

Hacker News2
cp
cparse – LR(1) and LALR(1) parser generator in C39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

cparse – LR(1) and LALR(1) parser generator in C

Hacker News2
Cp
Cparse is an LR(1) and LALR(1) parser generator in C39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cparse is an LR(1) and LALR(1) parser generator in C

Hacker News3
Cp
Cparse – a simple parser generator for C – now supports LALR(1)32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cparse – a simple parser generator for C – now supports LALR(1)

Hacker News1
He
Header-only, extensible C++17 argument parser50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Header-only, extensible C++17 argument parser

Hacker News21
Pq
Pq, a unixy generic protobuf parser31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pq, a unixy generic protobuf parser

Hacker News6
JM
JMeter JTL Parser in Go42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JMeter JTL Parser in Go

Hacker News1
St
Strongly-Typed Parser Combinators for Dart44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Strongly-Typed Parser Combinators for Dart

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

Cron::Parser

Hacker News1