yieldpattern
MLStyle.jl
yieldpattern | MLStyle.jl | |
---|---|---|
1 | 5 | |
4 | 390 | |
- | - | |
1.8 | 6.6 | |
about 3 years ago | about 2 months ago | |
TypeScript | Julia | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yieldpattern
-
Pattern Matching Accepted for Python
I’m writing a TypeScript package for pattern matching by using generator functions.
https://github.com/RoyalIcing/yieldpattern
It’s amazing to me how much pattern matching, well, matches how I think. A conditional if statement means I have to explicitly read properties off an object or inspect an array to check for what I want. Whereas pattern matching means asking ‘I want something that looks like this’ and do the work for me.
MLStyle.jl
- Mlstyle.jl: “Functionalprogramming.jl”
-
Does anyone really like what Mathematica achieves, but hates the syntax?
It seems to have all the lovable traits you stated, except ML style patterns but there's MLStyle developing.
-
What are some of your favourite macros?
@chain and @match.
-
Pattern Matching Accepted for Python
> and we're stuck with an inferior Lisp/ML, especially in the scientific sector.
You will love Julia.
Here is some links:
https://julialang.org/blog/2012/02/why-we-created-julia/
Julia: Dynamism and Performance Reconciled by Design (https://dl.acm.org/doi/pdf/10.1145/3276490)
https://opensourc.es/blog/basics-multiple-dispatch/
And when you start finding things that you miss, Julia and the community got you with excellent Metaprogramming support.
https://github.com/thautwarm/MLStyle.jl
https://github.com/MikeInnes/Lazy.jl
https://github.com/jkrumbiegel/Chain.jl
What are some alternatives?
trivia - Pattern Matcher Compatible with Optima
Match.jl - Advanced Pattern Matching for Julia
peps - Python Enhancement Proposals
gcc
python-imphook - Simple and clear import hooks for Python - import anything as if it were a Python module
flynt - A tool to automatically convert old string literal formatting to f-strings
kalk - Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
Chain.jl - A Julia package for piping a value through a series of transformation expressions using a more convenient syntax than Julia's native piping functionality.
Forscape - Scientific computing language