Toy
parsec
Our great sponsors
Toy | parsec | |
---|---|---|
38 | 12 | |
215 | 832 | |
- | 0.0% | |
8.4 | 4.7 | |
2 months ago | 15 days ago | |
C | Haskell | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" 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.
Toy
-
Lost my creative spark - looking for help
Over the last couple months or so, I've totally lost my creative spark. I'd been working on a web game and a programming language for 3.5 years and 1 year, respectfully, but both of them reached a point where I don't know what to do next...
-
Guide For Making a Package Manager?
Context: I've made my own programming language (Toy), and I'm currently working on a game + engine to go with it. Having some experience with npm, I realize that it might be possible to make something similar to download Toy scripts directly into a mods folder in the game.
-
Manager keeps dissing languages other than C
Funnily enough, I'm working on a custom scripting language implemented in C. Given how slow Python is, I couldn't implement my lang in it.
-
The Great Filter for programming languages?
People need to promote their langs more - get them out there, you know? Usage is the only way they'll survive.
-
Supporting GCC and MSVC at the same time
So I've made my own scripting language called Toy. It was built primarily in a WSL environment, using GCC - the problem is, I also want to support MSVC out of the box. I think it works pretty well as is, with a Visual Studio project provided alongside some makefiles.
-
A quick comparison of my lang's speed (Toy)
And then I wrote the exact same code in JavaScript and C, and compared them. The result was quite good, IMO -
-
Synesthesia in coding languages
C/C++ is crunchy in a good way, Java is like chewing concrete. JavaScript used to be soft and smooth, but after making my own programming language (which felt silky smooth), JavaScript now feels too soft and sticky.
-
Toy Literal Byte Alignment
I'm making a programming language called Toy, which is intended to allow easy modding of video game logic by the players. To this end, each value within Toy, be it a number, a string, a variable name, etc. is stored in a structure called "Toy_Literal".
-
How do you say “blah blah blah” in your language?
Don't forget the semicolon.
-
Share your 7DRL progress as of Wednesday! (2023-03-08)
The goal was partially to make a good jam game, and also to test my custom scripting language Toy. Unfortunately, a combination of a new, crappier computer and the fact that it's an untested lang and engine means that it's really friggin' slow - I'm struggling to get 60fps, even when the simulation rate was adjusted.
parsec
-
Revisiting Haskell after 10 years
Writing Haskell programs that rely on third-party packages is still an issue when it’s a not actively maintained package. They get out of date with the base library (Haskell’s standard library), and you might see yourself in a situation where you need to downgrade to an older version. This is not exclusive to Haskell, but it happens more often than I’d like to assume. However, if you only rely on known well-maintained libraries/frameworks such as Aeson, Squeleto, Yesod, and Parsec, to name a few, it’s unlikely you will face troubles at all, you just need to be more mindful of what you add as a dependency. There’s stackage.org now, a repository that works with Stack, providing a set of packages that are proven to work well together and help us to have reproducible builds in a more manageable way—not the solution for all the cases but it’s good to have it as an option.
- Show HN: I wrote a RDBMS (SQLite clone) from scratch in pure Python
-
Just write the f*****g parser.
The Parsec library for Haskell uses combinators, and there are a few good resources around the internet which explore it, if you know Haskell.
-
Summing polynomials in Haskell
Parse the expression using parsec library ( if you're unfamiliar with it please check out https://hackage.haskell.org/package/parsec) it's a strong library for parer combinators. Once you parse the expression u need to define and sum up the similar terms. Check this example out - https://fpunfold.com/2020/05/18/making-a-calculator-in-haskell-with-parsec.html
-
Konbini: a new multiplatform parser library
Konbini is a functional parser combinator library inspired by Haskell parsing libraries like Parsec. It's (hopefully) fairly easy to use, and is about as performant as the better-parse library. In fact, it's quite similar to better-parse in many aspects. The main difference is in how parsers are composed. Where better-parse prefers operators and infix functions, Konbini instead uses plain functions.
-
Traverse/mapM for Computation Expressions
Hi everyone, I'm learning F# and currently trying to do a Parsec-like CE, just to get comfortable with computation expressions.
- Is there good introduction to the parsec library for newbies?
-
On a daily base in this sub
good libraries for parsing: parsec, attoparsec etc.
-
Unity to acquire Parsec for $320m
Thank you! When I read the title I only knew about https://hackage.haskell.org/package/parsec, and for a moment I was very confused…
-
Splitting html tags string into list of string
The more "idiomatic" way would be to use a parser library, e.g. parsec, attoparsec, or megaparsec. But even then I think it would be a lot easier to maintain if you could preserve the angle brackets <> in the input.
What are some alternatives?
nature - 🍀 The Nature Programming Language, may you be able to experience the joy of programming.
rustdesk - An open-source remote desktop, and alternative to TeamViewer.
ghc-proposals - Proposed compiler and language changes for GHC and GHC/Haskell
Sunshine - Self-hosted game stream host for Moonlight.
fio - Flexible I/O Tester
megaparsec - Industrial-strength monadic parser combinator library
std_bot_cpp
sunshine - Host for Moonlight Streaming Client
OnAllFronts-Public - UE5 MilSim FPS / RTS Game (formerly ProjectM)
attoparsec - A fast Haskell library for parsing ByteStrings
refstring - A c-string wrapper library designed for efficient memory management
parsec-parsers - Orphan instances so you can use `parsers` with `parsec`.