VM Maker: VMMaker-dtl.186.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMaker-dtl.186.mcz

squeak-dev-noreply
 
Dave Lewis uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker-dtl.186.mcz

==================== Summary ====================

Name: VMMaker-dtl.186
Author: dtl
Time: 19 September 2010, 11:03:20 am
UUID: d2271d63-e922-47de-9bf7-161900f8e7d0
Ancestors: VMMaker-dtl.185

VMMaker 4.3.0

Adopt oscog support for method annotation (Pragma) directives in Slang code generation. The following pragma keywords are supported and are backward compatible with their message send counterparts:
        #var:type:
        #var:declareC:
        #returnTypeC:
        #export:
        #inline:
        #static:

Add unit test coverage for Slang generation. Verify that Pragma directives generate C code identical to that for message send directives. Tests cover C code generation for SmartSyntaxInterpreterPlugin, InterpreterPlugin, and Interpreter.

One test is currently failing (SlangTest>>testInterpDeclareStatic), indicating that the #static: directive has no effect for the main interpreter (it does work as expected for plugins). This does not affect VM code generation, and probably reflects a pre-existing condition.

Unit tests require package SlangBrowser (from VMMaker repository on SqueakSource).