|
| 16 Oct 2015 08:16 AM |
What do u guys think, should I even bother to try and make my own scripting language, I'd just make a plugin to convert it all to Lua when ur done typing it up so it can be used in a game. It would help beginners make games, I would also add in built-in functions to help do things that u would need to script urself... although I'm pretty sure it would glitch a TON at first, and it would need to undergo maintenance and crap ya know, well anyway, should I even bother?
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 08:35 AM |
If you really want to, go for it. Or as Nike says, Just do it!
- "I say no because yes is overrated" |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 08:44 AM |
Well, I personally think, it would be pretty cool
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 16 Oct 2015 08:45 AM |
| It's not gonna get very far but go ahead. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 08:56 AM |
ur probs gonna regret it
i make u math.sqrt() |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 09:02 AM |
chim, that's another thing I'm afraid off, cos I'd need to add in EVERYTHING, metatables, math stuff, all the other similar stuff, etc
Illegal, why is that? All the time spent on it, or what?
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 09:04 AM |
| If you dont make it like lua, it _can_ be easy-ish. Cntkillme made his version of asm that is compiled into special bytecode. It depends on what you want to do. A language with lua-like syntax would be hard, I'd imagine. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 09:30 AM |
well, am still thinking on how it should look like, for now all I can think of is doing something like this for a scope
/ --Start Scope --Do stuff here \ --End Scope
and something like this for a loop maybe
loop( i, v, tab, / --Do stuff here \ )
idk, these are just ideas...
These would be alternatives to
1. do --Do stuff here end
2. for i, v in next, tab do --Do stuff here end
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 09:37 AM |
It looks neat, but have fun with the _urgh_ string parsing with all that..
-ImmenseTickerOfTime |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 10:27 AM |
Neat? Thnx :D hmmm... string parsing, I'll have a look at it, thnx for the heads up
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 16 Oct 2015 10:36 AM |
JUST. DO IT.
DON'T LET YOUR DREAMS BE DREAMS. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 11:40 AM |
| that syntax is disgusting. it is in no way going to help beginners since it will have a steeper learning curve than lua itself. stop. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 12:23 PM |
digpoe, I'll keep that in mind, thnx :)
Biscuit, what would u suggest? And I said "That's all I can think off for now" meaning I'll probably change it later on :P
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 01:41 PM |
| It's actually a very good idea, but I have a feeling it'd end up like google translate, not giving completely accurate answers, and just one capital can make a difference... Also, rather than completely making up a new language, I'd use another programming language that already exists but is easier to learn, because sometimes things make sense to you, but not to other people D: But the best of luck to you, great idea :D |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 01:46 PM |
STRING MOTHER DUCKING PARSER BOI. NO ONE IS MAKING IT. WE NEEEEED IT. LO NECESITAMOS, ES NECESARIO POR ESTES TIPOS DE PROBLEMAS. ESTE CAMBIABA TODOS SOBRE scripting bro. |
|
|
| Report Abuse |
|
|
| |
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 16 Oct 2015 01:49 PM |
Make a script with a bunch of global functions they can use. I have thought about this before.
Example: (In a sever script)
_G.Hint = function(Text) local h = Instance.new("Hint", workspace) h.Text = Text
end
_G.HintDuration = function(Text, Value) local h = Instance.new("Hint", workspace) h.Text = Text wait(Value) h:Destroy()
end
Like that. All the beginner needs to is this:
G.Hint("This is a hint.") G.HintDuration("This is a hint with a duration", 10) |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 16 Oct 2015 01:50 PM |
My bad it would be this:
_G.Hint("This is a hint.") _G.HintDuration("This a hint with a duration", 10) |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 02:27 PM |
| /\ OOoooh, very good idea. |
|
|
| Report Abuse |
|
|
gskw
|
  |
| Joined: 05 Jan 2013 |
| Total Posts: 1364 |
|
|
| 16 Oct 2015 02:32 PM |
@Crimsonal So basically like Valkyrie, rbx-cure and all those?
Sure you can try to create your own language IF you think that you have the understanding and motivation to do it. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Oct 2015 02:42 PM |
that syntax is disgusting. it is in no way going to help beginners since it will have a steeper learning curve than lua itself. stop. [2]
He hit the nail on the head. Lua is already incredibly simple and easy to learn, your language not only makes it harder to learn how to script (because of it's awful syntax which is different just for being different, for one). It's simple, you don't make a scripting language to replace Lua, because Lua will replace your languages. |
|
|
| Report Abuse |
|
|
MiniNob
|
  |
| Joined: 14 May 2013 |
| Total Posts: 822 |
|
| |
|
|
| 16 Oct 2015 03:23 PM |
when ever someone makes a language ontop of a language it loses functionality, your language would be missing a lot of what Lua would do and it wont add anything that Lua can't do. if you made a language with assembly or w/e low level language you can get the most out of it. lua was made with c++ I believe and it lost some of what c++ could do while making it a simple language. |
|
|
| Report Abuse |
|
|
MiniNob
|
  |
| Joined: 14 May 2013 |
| Total Posts: 822 |
|
|
| 16 Oct 2015 03:26 PM |
| lua can do anything any other turing-complete language, including C, can |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 03:30 PM |
Lua is missing some loops like do --[[code]] while statement == true |
|
|
| Report Abuse |
|
|