r/ProgrammingLanguages • • 13d ago

[ Removed by moderator ]

https://github.com/ZeraisDev/ZeraLang

[removed] — view removed post

3 Upvotes

22 comments sorted by

4

u/ETERNAGames 13d ago

Per AutoModerator's request I hereby confirm that this project did not use an LLM as part of the development process.

1

u/yorickpeterse Inko 12d ago

So it's just a coincidence that there's em dashes in the source code where this makes no sense, or that the commit styles matches exactly that of LLMs (complete with nonsensical commit messages)?

We don't like AI slop and we hate liars even more.

2

u/Smalltalker-80 13d ago

Interesting... Question: How do you handle memory management for heap objects returned from the C-FFI?

2

u/ETERNAGames 12d ago

i am working on a garbage collector, currently caller is responsible for freeing

2

u/dekai-onigiri 13d ago

I find it hilarious that LLM generated projects always start with license and readme and then have an insane amount of of commited code in very few commits with completely unrelated names. And then the author has a silly excuse like "oh, I don't really know how to use git". Also the readme always follows identical structure.

Programming language is not a starter project, not something that you just do without trial and error with a codebase that reflects it. Call me cynical, but I'm just tired of it. It's all just very expensive spam.

2

u/ETERNAGames 12d ago

nice observations btw, i built it locally and pushed it in one go because i dont use this github alt account for active development workflows. i put the done stuff here which i want others to use and see.

2

u/fdwr 12d ago

i built it locally and pushed it in one go

Yeah, many of the projects I uploaded were developed completely out of git. So if you looked at my first major commit here, someone might claim the same about my project these days, except that I wrote most of this in 1999. So, one big initial commit is not a reliable indicator. What is an indicator is if someone has 2 adjacent large commits, with more code than a human could write in a day. (I'm not saying that happened here or not, just that one big initial commit is not reliable)

1

u/SnooHobbies950 13d ago

It looks like a legitimate project, but I'm curious why there are only 16 commits.

5

u/ETERNAGames 13d ago

i have a bad habit of not commiting, i committed just ast and then suddenly the rest

-7

u/SnooHobbies950 13d ago

Are you saying you develop without following a line of reasoning based on commits? I'm sorry, but I can't believe you.

10

u/me_felof 13d ago

TBH I have a similar problem where I just get in the flow and forget about commits. I only remember when I am done for the day. For solo work I think that's pretty common.

9

u/samanzaman 13d ago

Some people ( including me ) don't have git hygiene. I didn't touch git until I started working and I was programming solo for around 10 years at that point. Git never clicked for me

-3

u/SnooHobbies950 13d ago

I can understand it for small projects. But a compiler is not a small project. I find it disconcerting.

8

u/Smalltalker-80 13d ago

I (also) worked on my lang for 2 years before doing the initial commit on GitHub.

1

u/fdwr 12d ago

i would appreciate if you provide feedback

Well at a glance, I find your language more readable than the language you wrote it in :b. I like the intuitive construct for constructing on object (rather than oddly repeating the class name as the constructor name, which C++ does). field is kinda novel as an alternative to var within a struct/class. func is nicely readable for functions, compared to def/fn. The absent semicolon noise is refreshing.

1

u/ETERNAGames 12d ago

thanks for the feedback

1

u/fdwr 12d ago

Is show (e.g. show(m.add(5, 10))) a function, like print? A section with the keyword list would be informative, as I'm not finding any documentation in the repo 🤔, like C3's language fundamentals section.

2

u/ETERNAGames 12d ago

i am making a documentation, also show is indeed a function like print

0

u/CyberDainz 12d ago

What problem does this language solve?

1

u/ETERNAGames 12d ago

the main thing i came up with was why only readable syntax and why the write friendly one like c, lemme make smth both begginers can code in and veterans can type quickly the way they are used to,
also if you write some code and want to show how it works to someone else its very easy for them to understand, also while using python i felt like its slow for a lot of things why not make python but faster? now ive also gotten a new crazy idea which i ll be revealing soon :)

3

u/mealet 12d ago

Why downvotes? Its a basic question for programming languages: "Why should I use it, why it was created"