[Cuis] [OT] BasicScript of Angel Lopez
H. Hirzel
hannes.hirzel at gmail.com
Sat Jan 5 08:11:29 CST 2013
Here is the link to Angel's work
https://github.com/ajlopez/BasicScript/blob/master/lib/basicscript.js
Of course in connection with PetitParser we can do all kinds of things
in Cuis too.
But Angel's work makes intensive use of JavaScript functions (as they
are objects in JavaScript).
Angel, I'd like to see more example of what it actually parses.
--Hannes
On 1/5/13, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> Hello everybody,
>
> The previous mail to Angel about BasicScript should not have gone to
> the list as it is even more OT.
>
> Howver as it is now there, thinking about it, maybe not, actually?
>
> We may ask:
> Is there a way to have something in Cuis which is more like a variant of
> Basic?
>
> A subset which is easier to master? Even with a slightly different syntax?
>
> Cuis still has 1200 classes and that is a LOT for a beginner.
>
> And evaluating the following code snippet
> CompiledMethod allInstances size
> gives
> 16257
>
> 16257 methods!!
>
>
> For example Microsoft recently came out with SmallBasic
>
> http://msdn.microsoft.com/en-us/beginner/ff384126.aspx
>
> <citation>Microsoft Small Basic puts the fun back into computer
> programming. With a friendly development environment that is very easy
> to master, it eases students of all ages into the world of
> programming.</citation>
>
>
> From the FAQ:
> http://msdn.microsoft.com/en-us/beginner/ff384239.aspx
> * Unlike QBASIC, Small Basic is based on .Net and can consume (not
> produce) "Objects".
> * It supports distinct Operations, Properties and Events.
> * It doesn't have GOSUB :)
> * Small Basic is small - much smaller than VB
>
>
> The mention that there are over 200 Basic dialects and give a reason
> why they add another one.
>
> I think it was (to check)
>
> - The Small Basic language consists of just 14 keywords and should be
> really for beginners.
> - Still should have some objects and be a modern environment.
>
> Note: This mail contributes to the discussion what Cuis should be used for
> :-)
>
> There is no need from my side to actually embark on this NOW. But it
> is surely an important question for this upcoming year 2013.
>
> For example Germán seems to think of web services (and me too)
>
> Kind regards
> Hannes
>
>
> On 1/5/13, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> Hello Angel
>>
>> I saw on your blog that you mention BasicScript.
>>
>> Are you working on a Basic to JavaScript compiler/interpreter as well?
>>
>> This is of more interest for me than CobolScript as there are a lot of
>> Basic programmers around who have written useful programs and I have
>> done Basic in the past as well.
>>
>> A possibility to run Basic in a web page....
>>
>> May I ask you for more information?
>>
>> Kind regards
>> --Hannes
>>
>
More information about the Cuis
mailing list