Jump to content




Lua Basics for newbies


  • You cannot reply to this topic
6 replies to this topic

#1 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 30 May 2013 - 07:46 AM

STATUS:Alpha
RELEASED:No

Hello all,
today I started developing a little interpretor for the newbies under you!

At this moment it has only 6 13 command:
PRINT <string without "">
WRITE <string without "">
SLEEP <seconds>
BGCOLOR <color name>
TXTCOLOR <color name>
CLEAR
MONPRINT <side> <string without "">
MONCLEAR <side>
INTERPRET <filepath>
REPEAT
GOTO <line>
TRASHREPEAT
SHUTDOWN

Example Program(Hello World):
PRINT Hello
SLEEP 1
PRINT World
SLEEP 1
SHUTDOWN

Changelog:
Spoiler

It's made for the beginners, to do simple things.
So, don't thinks it's like lua!

If you have suggestions for new commands, or you have feedback please reply :)/>/>/>/>/>/>

thx for reading
Freack100

#2 M4sh3dP0t4t03

  • Members
  • 255 posts
  • LocationGermany

Posted 30 May 2013 - 07:53 AM

Sounds interesting, but I think it's better to learn lua directly without first learning this. But if you do it I would also do some basic input stuff and some sort of an if statement and loops.

#3 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 30 May 2013 - 08:18 AM

V. 1.2 Alpha finished!
Spoiler


#4 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 30 May 2013 - 10:49 AM

Added two new commands:
REPEAT
GOTO <line>

If anyone wants a pre-release of my code, simply send me a pm!

#5 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 30 May 2013 - 11:02 AM

How in the world is this supposed to teach lua to newbies?
This just teaches bad habits, and syntax errors.

#6 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 30 May 2013 - 11:50 AM

View PostCranium, on 30 May 2013 - 11:02 AM, said:

How in the world is this supposed to teach lua to newbies?
This just teaches bad habits, and syntax errors.
This don't teach lua...
It's an interpreter for newbies!
It makes programing of basics easier
If they want to make more complex programs they have to learn lua!

This is only a help for newbies but it's not a replacement for lua!

#7 Shazz

  • Members
  • 175 posts

Posted 30 May 2013 - 08:47 PM

I guess it gets people familiar to the idea of programming.





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users