checked the repo and writing your own interpreter from scratch is actually pretty cool, but some of the claims are kinda overstated
it's a c++ interpreter around 1.5k lines and the issue is "c++ speed" claim, interpreters run stuff line by line at runtime so they are way slower than actual compiled c++ right? and that "compile" mode doesn't actually compile anything. it just pastes your code into a c++ file as a string and bundles it with the interpreter. the exe still interprets your script when it runs
I created an interpreted language with sinhala syntax like back in 2022-23. And there’s many more before and after that in Sri Lanka. So this is obviously not the first one, but appreciate your effort!
6
u/tharushkadinujaya05 @0xneobyte 14d ago
checked the repo and writing your own interpreter from scratch is actually pretty cool, but some of the claims are kinda overstated
it's a c++ interpreter around 1.5k lines and the issue is "c++ speed" claim, interpreters run stuff line by line at runtime so they are way slower than actual compiled c++ right? and that "compile" mode doesn't actually compile anything. it just pastes your code into a c++ file as a string and bundles it with the interpreter. the exe still interprets your script when it runs
good project tho!
4
u/LordDraagonz 14d ago
There's 100s of made in sri lanka
2
u/Ravana-Ceylon 14d ago
There many.. example ballerina
1
u/HirujaSJ open sourcer - hirujaedurapola.com 14d ago
I created an interpreted language with sinhala syntax like back in 2022-23. And there’s many more before and after that in Sri Lanka. So this is obviously not the first one, but appreciate your effort!
1
u/Haunting-Ninja-2798 13d ago
Why
1
u/_womb_raider_69 13d ago
imagine creating a language and naming it "L" 🥀
1
u/Nighty-Owlly 12d ago
Gimme me 3 use cases,
Nah just one?
1
u/VanishedGradientX 10d ago
Brother this is good . Nice one
1
u/incrediblediy 9d ago
Holy C is the GOAT
0
u/lahirunirmala @lahirunirmalx 13d ago
wow nice
government should adopt this and make there application with this language
6
u/[deleted] 14d ago
[removed] — view removed comment