generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Making custom language

Previous Thread :: Next Thread 
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
16 Oct 2015 08:44 AM
Well, I personally think, it would be pretty cool

"My Life is going Good... but..."
Report Abuse
chimmihc is not online. 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
IllegallyBlind is not online. IllegallyBlind
Joined: 07 Nov 2010
Total Posts: 1691
16 Oct 2015 08:56 AM
ur probs gonna regret it


i make u math.sqrt()
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
16 Oct 2015 09:37 AM
It looks neat, but have fun with the _urgh_ string parsing with all that..

-ImmenseTickerOfTime
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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 is not online. 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
FriendlyBiscuit is not online. FriendlyBiscuit
Joined: 01 Dec 2012
Total Posts: 8991
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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
cowsoncows is not online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
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
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
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
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
16 Oct 2015 01:47 PM
MoonScript 4 lif
Report Abuse
Crimsonal is not online. 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 is not online. 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
cowsoncows is not online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
16 Oct 2015 02:27 PM
/\ OOoooh, very good idea.
Report Abuse
gskw is not online. 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 is not online. 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 is not online. MiniNob
Joined: 14 May 2013
Total Posts: 822
16 Oct 2015 03:20 PM
make a stack language
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
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 is not online. 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
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
16 Oct 2015 03:30 PM
Lua is missing some loops like
do
--[[code]]
while statement == true
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image