I started making a new language. I really haven't finished, but am working on another project right now.
@medcho try taking a look at an actual programming language. Try taking a look at the lolcode source code. It might be an eso lang, but it shows what a real programming language is like.
Yours is not a new programming language, because it is just python with some user defined functions in the main file
good luck man, I hope someday in the future you’ll be one of the great programmers, It’s nice though.
why is this based on python? it was already slow enough as it is, imagine a language built on it 0_0
Cool programming language
- add variables
- data types
- better examples
How did you get so close for 1000 cycles
i'll help you to make a better editor for your language(if you need)
@medcho i can make an IDE for ur language
i mean when the user runs the repl...
he can write a line of code and then hit enter and it will ask you if you need to see the output or continue coding...
it is cool!
This is good. I don't agree with the naysayers that say
Oh, you didn't make an AST? Too bad, this isn't a programming language!
However, you still need to do some parsing.
Even just this, in foo.bar:
say "Hello world"
Would be acceptable.
@CodeLongAndPros basically what @sugarfi is saying is that while you can technically call regexp and .split parsing.
Compared to using a parsing algorithm it will run into syntactical limitations very fast and you will have to implement some kind of expression parser if you want to parse stuff like
1 + 3 * 4 correctly anyway.
This is closer to a DSL than a standalone programming language but still, you took the first step! I would suggest picking a particular topic and then adding many functions which make programming for that topic easier. For example, if you want to focus on math, import something like numpy or the standard math functions and add your own functions.
I found out why you have so many cycles, but don't have any high cycle posts