Hey, how's it going? Guess what? Eternal's making a programming language! OMFG! He's such a n00b, he'll never make one. Well, it's going to be interpreted, okay? But I know how I am going to get it to work, and make EXE's.
The following text is the beginning of the manual. It explains some basics of the language:
Quote:
SQUEO (Skw-eh-o)Simple QUick Efficient Organized Programming Language.All programming languages have a purpose. Many common purposes are to make easy applications (VB), make easy games (GML and DB), or just to be an all purpose language (C++). The purpose of Squeo is to be an easy, all-purposed language <b>EDIT: NOT TOO REPLACE C++, JUST TO MAKE EASY APPS AND GAMES</b>. Even past their basic purposes, all languages have something to set it apart from the others in it's genre. GM is good for making 2d games, DB good for making 3d, etc. Being an all-purposed language, what sets it apart from C++? Well, first off, it is only for Windows. Second, it is alot easier. It is designed to save as much time as possible while programming. The entire program can be navigated easily without the need of a mouse, so you can keep your hands on the keyboard at all times. Interface wise, there's hardly anything. Basically, with the exception of a menubar, it's a blank screen to type in. This speeds it up if you know what you are doing. Now, what if you don't know what you are doing? Because of the low difficulty level, you will find out soon enough.Okay, you know how it is quick and simple, right? Now, how is it efficient and organized? It is efficient because not everything in the game is executed, only what is in existance. In other languages, every object is updated, even if there are 0 of them. This speeds up the programs quite a bit. Organization is a key part of developing this language. Have you ever noticed how when programming, the commands seem to be categorized? Such as, in GML, draw_set_color? Now, have you ever thought that a command could fit into another category too? Well, that's where Squeo comes in. It has commands in multiple spots, so you can choose to call whatever is easier to read for you. For example: SCREEN PRINT "Hello World"and DRAW TEXT PRINT "Hello World"do the same thing. You might say "Why would anyone do the second? It's longer…" Well, blocks. What, you say? Blocks are an element of Squeo that you probably haven't heard of before. You can do something like this:BLOCK "DRAW TEXT " 6What that does, is for the next 6 lines, it adds "DRAW TEXT " to the front of them. This can be used if you need to do lots of text commands within the next couple, or many, lines. If you are still wondering why this would help, let me give you an example in DarkBasic. Now, in the beginning, you have to use "load image" for all the images you need. You may need to do this 100 times even. Now, using BLOCK "load image " you could save alot of time.Now, how do you code in Squeo? Here is a tutorial for a simple 'Hello World' program.FPS 60SCREEN PRINT "Hello World"PAUSE "INPUT KEYBOARD PRESS ANY"END PROGRAM// The FPS of your program is automatically 30, unless you change it in the beginning. We changed it to teach you that // simple command. The SCREEN PRINT makes the words "Hello World" appear in the upper left corner of the // screen. The PAUSE "INPUT KEYBOARD PRESS ANY" Has the program pause until it recieves input from the //keyboard that you are pressing any key. END PROGRAM… Well, ends the program.Okay, now execute the program. It should be a white screen with black text saying "Hello World" in the upper left. Now, how do you change the text or background color? Here, let's change our code a little:FPS 60BLOCK "SCREEN " 2SET COLOR "BLACK"PRINT "Hello World"PAUSE "INPUT KEYBOARD PRESS ANY"END PROGRAMNow, the BLOCK "SCREEN " 2 adds "SCREEN " to the next 2 lines. So SCREEN SET COLOR changes the background color. Now, what about the text?
ZOMG, Wall o' Text!
Me no read wall of text. >:(Come on, it's not that bad. I've made worse…
Read it.
Soo….You're planning on doing a language that could replace C++ because it's easier? Good luck with that.I never said replace C++. I said it was an all-purpose language, with some limitations, because it will be equal at making apps and games.
Also, read the purpose. It says to be a fast to program language, not replace C++.
Well, good luck with you project. Hope to see a demo soon. Will it be able to use windows API to make graphical interfaces?
Nope. Homemade GUI in GM. :) I might use ripper windows sprites though, XD.
no, I think will you be able to create program with GUI using YOUR language? maybe using some winAPI DLLs for GM?
Well he couldn't sell it then. Besides WinAPI isn't exactly for newbies.