Like the title states, I'm working on a scripting language. It's actually going to be very much like C, but I'm leaving out certain things. The language is going to give the programmer control, and there's not going to be any garbage collection. There will be structs, but functions will not be allowed in them. Macros are also supported, and they work great. I was just wondering what kind of things you would like to see in the scripting language, and I'd also like to answer any questions anyone might have.
The current stage of development is the compiler for the scripts. The tokenizer is nearly 100% complete, and will just need to be debugged a little bit, then I'll start working on parsing statements from the tokens, then I plan on mapping out the opcodes so I can make a virtual machine with C or C++. I also plan on releasing the full source code to anyone that wants it, free of charge, no license or anything. I like giving to the community, and I think I can trust that my work won't be stolen for profit.
I'm currently working on a C-Like scripting language.
That's awesome!
Most new programming languages is aimed more towards beginners (like Python and Lua) so, this might be a good refresher!
I like the C-syntax so I'll probably take a look at it as soon as it's complete!
Most new programming languages is aimed more towards beginners (like Python and Lua) so, this might be a good refresher!
I like the C-syntax so I'll probably take a look at it as soon as it's complete!
Yeah, it's cool to have scripting languages for beginners and such, but there aren't too many out there that give you the kind of control that C/C++ gives you. I'm not saying I know everything there is to know about other scripting languages, all I know is that the one I've been working on is aimed at programmers, not scripters.
no license or anything.
I hope you choose a license, for your own protection. Something zlib/bsd/boost like will do.
I might have my friend that's working on it handle that, but I don't care much for it. If someone steals my work, oh well. All I really care about is that it's made.
You haven't defined "control".
What control do you think that Lua or Python lacks? Note that I do not think either language is particularly beginner oriented, they just happen to be considered "beginner friendly" because they are harder to break than C or C++. Both feature closures, which make it really nice to do callback stuff (one of my primary uses for scripting).
Lacking garbage collection would also be a huge setback for me. I use scripting languages to reduce my workload and make rapid iteration easier. Having to manually manage memory would be a detriment to this goal.
What control do you think that Lua or Python lacks? Note that I do not think either language is particularly beginner oriented, they just happen to be considered "beginner friendly" because they are harder to break than C or C++. Both feature closures, which make it really nice to do callback stuff (one of my primary uses for scripting).
Lacking garbage collection would also be a huge setback for me. I use scripting languages to reduce my workload and make rapid iteration easier. Having to manually manage memory would be a detriment to this goal.
You haven't defined "control".
What control do you think that Lua or Python lacks? Note that I do not think either language is particularly beginner oriented, they just happen to be considered "beginner friendly" because they are harder to break than C or C++. Both feature closures, which make it really nice to do callback stuff (one of my primary uses for scripting).
Lacking garbage collection would also be a huge setback for me. I use scripting languages to reduce my workload and make rapid iteration easier. Having to manually manage memory would be a detriment to this goal.
The control of the memory is the main point of my scripting language. It's basically going to be something like C, just in a scripting language. I'm mostly making it for a game engine that I'm working on, but I'm nice enough to let others use it as well. I'm definitely not trying to compete with any other scripting language, but I am hoping to target people that want a scripting language that doesn't dumb down the syntax.
there is a reason many scripting languages are weak typed ("dumbed down is not an accurate description). Scripting languages are most often use to promote rapid iteration (as mentioned previously) as well as to allow artists to write some of the game play revolving around their art, without bothering the programmers who are often tied up with more intricate stuff.
I simply do not see the advantage of using a scripting language with a c-like syntax.
I simply do not see the advantage of using a scripting language with a c-like syntax.
I simply do not see the advantage of using a scripting language with a c-like syntax.
Leaving aside the question of 'c-like syntax', there certainly is a market for statically-typed languages, even for scripting. Consider how common it seems to be to choose C# over JavaScript for scripting Unity.
The control of the memory is the main point of my scripting language. It's basically going to be something like C, just in a scripting language. I'm mostly making it for a game engine that I'm working on, but I'm nice enough to let others use it as well. I'm definitely not trying to compete with any other scripting language, but I am hoping to target people that want a scripting language that doesn't dumb down the syntax.
I don't really understand. If you want the syntax and "control" of C... why not write the game logic in C?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement