cupscript
Coconut
cupscript | Coconut | |
---|---|---|
4 | 27 | |
24 | 3,967 | |
- | - | |
0.0 | 9.3 | |
over 1 year ago | 11 days ago | |
Python | Python | |
- | Apache License 2.0 |
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.
cupscript
-
i created a interpreted programing language in python! (now with working link)
Oh nice I followed that tutorial and created it from scratch few years back also shared here, its a pretty good tutorial but at that time I was kind of blindly following and didn't understand much but later updated with import statements, implicit variable declarations, and something like python's if __name__ == "__main__" and a File Handler objectit was pretty fun ngl now I am studying programming languages properly and trying to make one,you can check it here https://github.com/Fus3n/cupscripteverything I did in a way it may not be useful but you can look into the code and extend from it, it probably looks exactly the same (btw mine has some bugs)
-
Made a Programing language using python
Lexer or also called a tokenizer is basically the first step of all of it. A lexer class takes in the text/user input (also filename for context to throw errors in my case) and goes through every single character and checks if any of it matches with the character I pass in if statements, if it does then if it is a '+' for example it will append a new token to a list (mine is called tokens) using the Token class you can check that out too a token class takes a Token type and a value so the type is PLUS here and the value is '+' all my types are stored in consts.py and then the tokens get passed to the parser
Coconut
- Coconut: Simple, elegant, Pythonic functional programming
-
Mojo is now available on Mac
> to be part of the Python ecosystem
I'd rather use Python if I'm in the Python ecosystem. So many attempts were made in the past to make a new language compatible with the Python ecosystem (look up hylang and coconu -- https://github.com/evhub/coconut). But at the end of the day, I'd come back to Python because if there's one thing I've learnt in recent years it's this:
minimize dependencies at all costs.
- I modified and hacked away xonsh source code
- Show HN: I mirrored all the code from PyPI to GitHub
-
Leaving Haskell Behind
Have you had a look at Coconut? I don't know if it'll push all your buttons but whenever I hear someone who's reasonably content with Python but wants more FP goodies I always think of it. https://github.com/evhub/coconut . It's basically a superset of Python3 that transpiles into Python3 and is compatible with MyPy. I don't think I'd code Python w/o it ever again assuming I had the choice. The biggest negative for me is that there's no IDE support for the language last I looked, though of course you can work with the transpiler output (plain Python) in your favorite Python IDE. It might be fun to play around with, I know that I really enjoyed it but then I got spoiled by the language+tooling of Scala3, but if you don't have that option ...
- Codon: A high-performance Python compiler
-
[2022 Day 1-7] Going for 1 language per day, looking good so far
If you're looking for suggestions I want to put forward zig lang if you like C/C++ and Coconut Lang if you like Python!
- Show HN: Programming Google Flutter with Clojure
-
What is your favourite programming language? (other than Scala)
F# and also the fun, compile-to-Python, functional language called Coconut.
What are some alternatives?
Preql - An interpreted relational query language that compiles to SQL.
Toolz - A functional standard library for Python.
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Pyrsistent - Persistent/Immutable/Functional data structures for Python
py-myopl-code - Interpreter for the BASIC language written in Python 3
fn.py - Functional programming in Python: implementation of missing features to enjoy FP
funcy - A fancy and practical functional tools
returns - Make your functions return something meaningful, typed, and safe!
effect - effect isolation in Python, to facilitate more purely functional code
CyToolz - Cython implementation of Toolz: High performance functional utilities
classes - Smart, pythonic, ad-hoc, typed polymorphism for Python
Deal - 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.