Going via browser: http://smalltalkhub.com/#!/~SvenVanCaekenberghe/ObjectLiterals/versions/Obje... says "oops not found" On 21 October 2012 02:36, Igor Stasenko <siguctua@gmail.com> wrote:
Me too: 'Could not load ObjectLiterals-SvenVanCaekenberghe.4.mcz: ZnHttpUnsuccessful: 404 Not Found'
however, the monticello repository window shows it is there.
Nicolas, any clues what going on?
On 21 October 2012 01:30, Dale Henrichs <dhenrich@vmware.com> wrote:
Sven,
For some reason I can't see any of the packages in your project on SmalltalkHub, but I was just curious if your work depends upon a pre-existing Smalltalk parser or not?
I assume that "the JSON issue" will come up in a month or two again, so it is worth knowing the answer ahead of time:)
Dale
----- Original Message ----- | From: "Sven Van Caekenberghe" <sven@stfx.eu> | To: "Pharo-project@lists.gforge.inria.fr Development" <Pharo-project@lists.gforge.inria.fr> | Sent: Saturday, October 20, 2012 11:51:34 AM | Subject: [Pharo-project] Parsing Smalltalk Array/Object Literals | | Hi, | | I took Igor's initial code and created a new project: | | http://smalltalkhub.com/#!/~SvenVanCaekenberghe/ObjectLiterals/ | | and I added ObjectLiteralParser to convert any Character Stream or | String into a Smalltalk Literal Array and eventually into an Object. | | This proof of concept moves the ObjectLiteral format/notation away | from the Smalltalk compiler and will help us discuss more concretely | the actual details of the specification (which is still not 100% | finished). | | I also added 12 unit tests and cleaned up the code and comments. | | Please have a look at the code. | | This is one of the tests: | | ObjectLiteralParserTests>>#testMixed1 | | input output | | input := ' | #(Array | 1 | foo | #''foo-#bar'' | true | false | nil | 3.14159 | -100 | ''string'' | (#OrderedCollection 7 8 9) | #(Set 10) | (Dictionary | x 1 | y 2) ) '. | output := { | 1. | #foo. | #'foo-#bar'. | true. | false. | nil. | 3.14159. | -100. | 'string'. | OrderedCollection withAll: #(7 8 9). | Set with: 10. | Dictionary newFromPairs: #(x 1 y 2 ). }. | self assert: (self parserOn: input) nextObjectLiteral equals: output | | I like this format, its simplicity and elegance is appealing, it | offers distinctive advantages in the Smalltalk context while its | slight readability disadvantage is acceptable. Like any format it is | a compromise and a tradeoff, but a rather good one. | | Regards, | | Sven | | -- | Sven Van Caekenberghe | http://stfx.eu | Smalltalk is the Red Pill | | | | |
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.