Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by bb88

5 hours ago

I've always respected PonyORM because of their level of hacking of the python language.

    select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)

PonyORM inspects the AST of the generator, and then translates that to SQL.

I feel like maybe something similar could happen to make the syntax more native for Amaranth.

0 comments

bb88

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities