strucjure

Languages and libraries

pattern matching library

SHOW HN2012

204points
16comments
#74of 1,677 in 2012
Top 5%of 2012 by points

How HN took it

LovedMost comments that take a side are positive

4 positive, 5 neutral or asking, 0 mixed, 0 critical, out of 9 comments about the project. Thread score +0.25.

Idea: 4 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Views are first-class and can recognise context free grammars, beyond core.match

    From 1 comment
    • Author here. Strucjure has much more expressive power. Strucjure views are first-class values and can call other views (or recursively call themselves). This allows them to…
      jamii on HN

Objections

  • Slower than core.match at present

    From 1 comment
    • Author here. Strucjure has much more expressive power. Strucjure views are first-class values and can call other views (or recursively call themselves). This allows them to…
      jamii on HN

Requests

  • Support for reversible patterns

    From 1 comment
    • Awesome, great work. I'll have to play around with this later and dig into the source. I'm looking forward to that - I'm just beginning to dive into this area. What are your…
      bbq on HN

Questions

  • How does it compare to core.match?

    From 1 comment
    • How does this compare to https://github.com/clojure/core.match ? He mentions that core.match is better at efficiently compiling complicated patterns, but little else is said as…
      codewright on HN
  • Could it be used to write a computer algebra system?

    From 1 comment
    • There is an example which turns infix math expressions into sexps. Could Strucjure be used to write a Computer Algebraic System (CAS)? I would guess that most algebra is probably…
      papaf on HN

Alternatives named

  • core.match

    From 1 comment
    • How does this compare to https://github.com/clojure/core.match ? He mentions that core.match is better at efficiently compiling complicated patterns, but little else is said as…
      codewright on HN
  • Bondi

    From 1 comment
    • This has some similarities to Bondi http://bondi.it.uts.edu.au/ by Barry Jay (but implemented in Clojure rather than being a Binary.) I'm interested to hear your thoughts on…
      juliangamble on HN
  • OMeta

    From 1 comment
    • I'm vaguely aware of Bondi but I haven't gotten around to trying it out. It definitely influenced me when deciding to make patterns first class instead of sticking to OMeta's OOP…
      jamii on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/4902219)