Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
coolq48207y@ac1235 nothing is necessarily special about it, just I made it, it's a one of a kind language written in pure python!
-
ac123511437y@coolq that's cool, but what's THE thing about it?
You know, the one idea that makes me say "wow" -
coolq48207y@ac1235
The wow factor? Good question, it would have to be either that it's written in pure python allowing for direct implementation. Or how small the interpreter is. Or that it was written by a fifteen year old 😉
Seriously, look at the file, it's quite small for an interpreter.
In my next interpreter, it will have a true wow factor, styles. Basically a style would be a file that allows the developer to add aliases and snippets and so on to augment the AST... it might seem like a hard task, but the way I'm thinking of doing it, it seems quite easy and effective.
Also thanks for showing interest in my interpreter, means a lot mate 😃 -
ac123511437y@coolq You got me hooked by saying it's small, because I am a big fan of small programs. I will analyze it a bit later :)
-
coolq48207y@ac1235 awesome! Idk why, but I absolutely love small programs, it was one of the things I had in mind for this project 😁
Also about to upload updated version with fixed bugs, stay tuned! -
ac123511437y@coolq sadly, small programs can't be written in python due to the interpreter overhead.
for real small projects (kdb+ small) you would have to use C/FORTRAN/ASM... -
coolq48207y@ac1235 Depends on what you call small.
Readability, file size, compactness..etc.
In this case, it's readability and file size, but not including Python itself.
Thinking of eventually making it in C, or something else with less overhead. It's possible that it could even run on micro controllers. :D -
coolq48207y@ac1235 Hey, just looked at your profile, you made antlang?
Nice, I didn't realise I was talking to someone with experience!
Related Rants
Hey everyone!
I've created an interpreter that I am very proud of :)
It's based off the variation of Scheme(I think, maybe just Lisp) called Lel.
So my language is like a variation of a variation of Lisp... Written in an Interpreter(Python).
I've got a wiki, and source code on GitHub:
https://github.com/coolq1000/...
Thanks for any feedback. And help appreciated!
undefined
python
lel
interpreter