lean4-metaprogramming-book

By leanprover-community

Lean4-metaprogramming-book Alternatives

Similar projects and alternatives to lean4-metaprogramming-book based on common topics and language

leanprover-community
lean4-metaprogramming-book
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lean4-metaprogramming-book alternative or higher similarity.

lean4-metaprogramming-book discussion

Log in or Post with

lean4-metaprogramming-book reviews and mentions

Posts with mentions or reviews of lean4-metaprogramming-book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-30.
  • Macro-ts: TypeScript compiler with typesafe syntactic macros (2022)
    2 projects | news.ycombinator.com | 30 May 2023
    Lean4 manages to pull off changing the parser on the fly at compile time. You can add new productions, add new syntax node types, and add new tokens. Then define macros or code to process the additional syntax. Here is a sample I found that adds a simple JSX-like syntax starting around line 93 and then uses it at line 169:

    https://github.com/leanprover/lean4/blob/master/tests/playgr...

    I believe most of the language is defined this way, although it is pre-compiled.

    For more details see the lean4 metaprogramming book: https://github.com/arthurpaulino/lean4-metaprogramming-book

Stats

Basic lean4-metaprogramming-book repo stats
1
203
7.7
16 days ago

leanprover-community/lean4-metaprogramming-book is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of lean4-metaprogramming-book is Lean.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com

Did you konow that Lean is
the 76th most popular programming language
based on number of metions?