[ANN] Towards a new File In / File Out format
Alexandre Bergel
Alexandre.Bergel at cs.tcd.ie
Tue May 30 21:08:03 UTC 2006
Hi Noury!
I also have been playing with a smalltalk syntax:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
package MyPackage
Bar < Foo (a b c).
Foo class foo: x {
5 + 6 }
Foo bar {
^ self bar }
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
For instance...
Cheeres,
Alexandre
Am May 29, 2006 um 12:58 PM schrieb Noury Bouraqadi:
>
> Le 29 mai 06, à 12:33, Ralph Johnson a écrit :
>
>> I have throught that an XML form would be good so that search engines
>> would turn the entire internet into a single searchable repository.
>> VisualWorks uses XML for input/output but it isn't a good format. I
>> recall that another version of Smalltalk has a better version, but I
>> don't remember which one.
>>
> But, XML is hardly readable/editable by humans. I think we should
> have both XML and non-XML formats. The first for machines and the
> second for humans.
>
>> If you are primarily interested in publishing code in papers, you
>> ought to produce rtf or LaTex or something similar, and not worry
>> about filing it in.
>>
> No, this is not my primary goal. But, I wanted to have the
> equivalent of MyClass>>#myMethod for providing method definitions.
> So, I added :
>
> MyClass<<#(myMethod
> "methodBody")
>
>
>> One thing to worry about with treating an entire source file as a
>> single Smalltalk expression is that the compiler has a limit on the
>> number of literatls. I don't know what it is, but that will limit
>> the
>> number of methods you can have in a file.
>>
> No, I don't want to have the entire file as a single expression,
> but a sequence of expressions that will be parsed and evaluated
> successively.
>
> Noury
> --------------------------------------------------------------
> Dr. Noury Bouraqadi - Enseignant/Chercheur
> Ecole des Mines de Douai - Dept. G.I.P
> http://csl.ensm-douai.fr/noury
>
> European Smalltalk Users Group Board
> http://www.esug.org
>
> Squeak: an Open Source Smalltalk
> http://www.squeak.org
> --------------------------------------------------------------
>
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.cs.tcd.ie/Alexandre.Bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|