Describe your feature request
Adding Zig (https://ziglang.org/) to REPL’s usable languages
What problem(s) would this feature solve?
Well it would allow more exposure to the lesser known but just as useful languages out there, it will give users a new language to try out that isn’t among the “big ones.”
Explain what you were trying to do when you came across the problem leading to this feature request
Well there was not an issue of course, but from my own personal frustration and after discussing people who saw the same difficulty and annoyance that they cannot code in ZIG on any online IDE except for github codespaces or gitpod (when configured properly which frankly majority of us can’t even do easily). this will also allow people to be exposed to a more unique language, of course.
3 Likes
Debugger and language server, but no syntax highlighting:
https://replit.com/@UMARismyname/Zig
4 Likes
syntax highlighting = nice
1 Like
I believe there was a request to add custom syntax highlighting for your files.
2 Likes
This exists!:
https://replit.com/@PotentialStyx/Zig?v=1
I don’t think that there’s syntax highlighting sadly tho
2 Likes
4 Likes
Nice, thanks! If you build with release-safe, you’ll see there’s a memory leak somewhere.
Don’t worry guys I’m working on a bounty to implement zig syntax highlighting for replit
https://replit.com/bounties/@masfrost/zig-language-mode-fo
It’s going to include block folding too
Though I can’t guarantee it’ll be 100% identical to vscode and sublime because lezer grammars are an extreme pain and sometimes undocumented mess.
1 Like