Jump to content
  • Advertisement
Sign in to follow this  
monobogdan

NextGen Console

This topic is 766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! My name is Bogdan Nikolaev, i'm from Russia, and my age == 14 years.

I write interpreter of a simple automatization scripting language, with my syntax based on basic.

Interpreter written on Delphi.

I create this language because i need simple and powerful language for automatization routine(for example build scripts), and i make my own language. Here is some language features:

  1. Two comparsion condition - if and if not
  2. Some winapi functions implemented(messagebox and etc)
  3. Multimedia api
  4. Interpreter in real time can deattach console, and transform to UI application
  5. Interpreter can run other script inside current executed script
  6. Intrepreter can run in interactive mode - in this case NGC is CMD or Bash analog
  7. Full file IO - reading, writing, appending
  8. INI reading and writing - very userful for storing script configuration(for example configuration of build script)
  9. Dynamic type system - you can create variables and set any type to it
  10. Calling functions from dll - make's NGC functions is infinite
  11. Math functions - add, sub, div, mul
  12. String functions - find, cut and pos(possible create parsers)

Here is some examples on NGC:

 

Print "Hello world":

println 'Hello, world!'

Advanced Hello world:

varcreate 'welcomestr'
varset 'welcomestr', 'Hello, world!'
println $welcomestr

Get user input:

varcreate 'username'
quest
varset 'username', 'Hello, '
strconcat $username, answer
println $username

Run other script:

runscript 'script.ngs'

Call dll function(must be stdcall and no parameters):

dllcall 'mydll.dll', 'myfunction'

Play sound:

playsound 'mysound.wav', true

Run other programm:

exec 'cc', 'mysource.c'

Currently NGC is under development, i log developing in twitter and in this theme. My twitter:

http://twitter.com/mono_bogdan

 

This is not advert, i want to show my project to other users, from other countries.

Thanks

Share this post


Link to post
Share on other sites
Advertisement

I moved this to the announcements forums. Note that if you want to provide ongoing updates, you should create a blog or development journal here and post there. Don't bump the thread constantly, please.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!