I do not fear computers. I fear the lack of them.Isaac Asimov
Obviously, alpha-3 will offer some new and interesting features. The goal of this post is the list the features that I currently have implemented or am planning to implement.
The changes in TBS alpha-3 will probably be:
- A system subroutine that allows you to receive the time, date, operating system and other environmental information. The STDL will contain some wrappers for this system subroutine because it will be rather complicated.
- "Wildcard" subroutines.
- The globvar, setglobvar, upvar and setupvar system subroutines which will allow you to access variables from other scopes.
- A new operator for strings: '-'. It will allow you to remove a string from the end of a string. For example: ?result =~ "Hello world!" - " world!"; will assign the value of "Hello" to a new variable called result.
- The structure of the TBS system will be changed to a more object-oriented design, making it(hopefully) more structured. You shouldn't notice this.
- A _repeat language construct will probably be added. It will allow you to repeat a block a number of times(without condition).
- String, bool and array operators will also be required in arguments for language constructs, because this is more logical. For example: _inc("#array"); must now be _inc(~"#array");
- Foreach subroutines will be added to the STDL for arrays and strings.
- The comparrission operators for larger than or equal and smaller than or equal will be changed from '=>' and '=<' to '>=' and '=>'.
- A sqrt subroutine will be added.
- More symbols will be allowed in subroutine and variable names.
- A math library will be added to the STDL.
- You will be able to provide less arguments than required by a subroutine, in extension to the ability to provide more arguments than required.
That was all the new stuff, for now. As you will notice, it will take a while before alpha-3 is going to be released. I hope you understand this after seeing the list of features.
No comments:
Post a Comment