プレイ日記
Kl'Dck Hul HissingToaster
Its finally here! Lowerdash 0.7 features an even easier to use syntax and a powerful new compiler! Download: WXNEY3JJ Features: - new . (dot) operator - find more syntax errors, earlier - even fasterer Manual: smilebasicsource.com/page?pid=59
4そうだね
プレイ済み
返信[1]
親投稿
1) Does it support recursion? 2) Does the variable scope still exist, and are variables deleted after the scope is gone 3) What can modules contain? Functions as well? 4) Is there a way to separate the essential Lowerdash files from the user created ones, and the compiled ones? 5) Do all strings and functions that return strings have to end in '$'? 6) Is this considered object oriented
0そうだね
プレイ済み
返信[2]
親投稿
7) If this is considered object oriented, then is there a way to get just the pointer to an object, such that you can create a clone with the same pointer, modifying one will also modify the other 8) Are strings, numbers, arrays considered object? Or is this object oriented feel only for 'MODULES' 9) Oh and is it case sensitive? 10) Would there be a way to obfuscate a file as it compiles?
0そうだね
プレイ済み
返信[3]
親投稿
If this is completely bug free and the compiled program runs as fast as a regular program then this would be a huge step up from SmileBASIC code
0そうだね
プレイ済み
返信[4]
親投稿
Kl'Dck Hul HissingToaster
@AlgorithmZ: Thas a lotta questions! Theres a whole manual on smilebasicsource (being updated) Lowerdash is object-oriented and uses a stack & heap paradigm. There is recursion, and all member variables live on the heap until an instance is DEL'd. Modules can contain: MEM (member, export var); VAR (static var); STATIC defs; and EXPORT defs. Exports belong to the object system.
0そうだね
プレイ済み
返信[5]
親投稿
Kl'Dck Hul HissingToaster
On types: #,%,$ are the same as normal SB. However, $ now means any pointer, not just a string pointer. Pointer vars have to be typed, but functions do not (same as SB) And yep, pointers are what you expect. An object pointer can be passed to other functions. (a typed pointer can point to a function as well!)
0そうだね
プレイ済み
返信[6]
親投稿
Kl'Dck Hul HissingToaster
Getting to 4,10: Unfortunately, SB's file system is a little, er, basic. Lowerdash Package Manager can install libraries from other projects by copying them into the new one; leaving a large flat list. Best case is a naming scheme that sorts user files to the top - I use "-" as scripts "_" as lib and "." as user. Obfuscation would be awesome, but requires some very slower mechanisms
0そうだね
プレイ済み
返信[7]
親投稿
Kl'Dck Hul HissingToaster
And of course: I think Lowerdash is the huge step up you're looking for :p As a language, LD has been through 5 releases now; the memory model is stable and tested. Of course, being the first release of the new compiler, there may be holes! :D
0そうだね
プレイ済み