[Newcompiler] running tests

Marcus Denker denker at iam.unibe.ch
Thu May 10 19:03:15 UTC 2007


On 10.05.2007, at 04:03, Ralph Johnson wrote:

> When I try to run the tests for release 182 of NewCompiler in Squeak
> 3.10alpha, it generates dozesn of errors, including one syntax error.
> Is there a version of Squeak for which all the tests pass?  If so,
> which version?

NewCompiler #186, in non-closure mode, after having re-compiled
the complete image with the #compileUseNewCompiler Preference
turned on, has only three failing tests for IRDecompilerTest
and the #exampleIfNotNilReturnNil is uncommented as the standard
compiler can't compile

exampleIfNotNilReturnNil
	^ nil ifNotNil: [ :arg | arg not]

without Vasilie's compiler fixes.

All the other tests are working. This is in Squeak 3.9.

It's important to install the right packages:

	-> the new SmaCC Runtime
	-> AST
	-> NewParser
	-> NewCompiler
	-> turn on Preference
	-> recompile image (e.g. with Recompiler)


	Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3947 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/newcompiler/attachments/20070510/d1a7c357/smime.bin


More information about the Newcompiler mailing list