Brendan Hansknecht said:
"...you're kidding, right?"
No no no, trust me, it's better for you, by changing all code into emojis it enables all people regardless of literacy to understand
Heyyyy so I unironically really want to try making a whole codebase where all function+variable names are emojis. Anyone know a helper tool or happy path for preprocessing something like .rocji files to .roc, or should I just write a Roc app to do that for me?
Or should I submit busted PRs for first-class support and start making enemies? :laughing:
Pretty sure I haven't seen anything like that, but it would be funny, do it u wont
There might actually be some value in creating an official tool that can generate Roc from a JSON AST, I think there's gonna be a lot of codegen for interfacing with systems given that there's no planned support for macros
If we had that, then we'd maintain some kind of jsonschema that was tied to a version of the language
Does anyone already have a use case they want that is blocked by not having that today?
But I don't know:
roc checkI don't think so?
There are projects that could benefit from that, such as:
But as much as it would be an improvement over generating the code by hand, Roc's syntax is simple enough that I don't expect this would be a priority
Fun idea! I'm :happy: to :hammer_and_wrench: it if anyone's :drooling: for it.
I think a good path for exploring this would be:
roc generate command that either prints a jsonschema, or takes in JSON and writes to a roc file (or files)(My timing on my tab macro is too long, and it's on the letters L and D...)
Makes sense - for the emoji names use case alone, this should just be a trivial find-and-replace though.
Yeah, for emojis only, it'd be a much more specific and simple tool
I did love jsonschema in 2018 though
I've not used it much myself, I just suggest it because it seems like a popular standard. Do you know of anything better?
I think I made a project proposal at my cloud job about using jsonschema to configure databases or something
I haven't thought about it (or any alternatives) since
Nice to meet you, by the way :grinning_face_with_smiling_eyes: I'm Jan - I've been away from Roc for a few years
Hi, I'm Sam! I've been working on it proper since about April, but I've been looking at it for years
I've definitely seen you around though, and I'm sure I'll continue to see you around :smile:
Looks like we joined this Zulip the same week. I hope so! I'm planning to write some software synth music this winter, and I'd love to use Roc over Haskell or JS if the young ecosystem isn't a blocker.
That sounds awesome! If there's anything blocking you, I'm not the only tinkerer that'd be happy to help make your dreams a reality
oh hey Jan, great to see you! :smiley:
JanCVanB has marked this topic as resolved.
Last updated: Jun 16 2026 at 16:19 UTC