Ported PetitCompiler-(Tests).
Name: PetitCompiler-JanKurs.41
Author: JanKurs
Time: 25-10-2014, 03:30:28 AM
UUID: 105186d1-1187-4ca6-8d66-3d2d47def4d3
Repository: http://smalltalkhub.com/mc/JanKurs/PetitParser/main
Name: PetitCompiler-Tests-JanKurs.4
Author: JanKurs
Time: 25-10-2014, 03:30:58 AM
UUID: 3e798fad-d5f6-4881-a583-f0bbffe27869
Repository: http://smalltalkhub.com/mc/JanKurs/PetitParser/main
In addition, fixed some problems to make it compilable under Smalltalk/X:
* Fixed PPCTokenNode>>initialize - there's no children instvar, it's initialization removed.
* Fixed PPCContextMemento>>propertyAt:ifAbsent: - removed return-in-return, not compilable under Smalltalk/X (C issues)
* Fixed PPCContextMemento>>hash - there's no stream instvar, access to it removed.
* Fixed PPCAbstractCharacterNode>>compileWith:effect:id: - removed dot after method selector (stc does not like it)
/*
* $Header$
*
* DO NOT EDIT
* automagically generated from the projectDefinition: stx_goodies_petitparser_compiler.
*/
#define __INDIRECTVMINITCALLS__
#include <stc.h>
#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
#endif
#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
DLL_EXPORT void _libstx_goodies_petitparser_compiler_Init() INIT_TEXT_SECTION;
DLL_EXPORT void _libstx_goodies_petitparser_compiler_InitDefinition() INIT_TEXT_SECTION;
#endif
void _libstx_goodies_petitparser_compiler_InitDefinition(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_goodies_petitparser_compiler__DFN", _libstx_goodies_petitparser_compiler_InitDefinition, "stx:goodies/petitparser/compiler");
_stx_137goodies_137petitparser_137compiler_Init(pass,__pRT__,snd);
__END_PACKAGE__();
}
void _libstx_goodies_petitparser_compiler_Init(pass, __pRT__, snd)
OBJ snd; struct __vmData__ *__pRT__; {
__BEGIN_PACKAGE2__("libstx_goodies_petitparser_compiler", _libstx_goodies_petitparser_compiler_Init, "stx:goodies/petitparser/compiler");
_PPCBridge_Init(pass,__pRT__,snd);
_PPCCompiledMethod_Init(pass,__pRT__,snd);
_PPCCompiler_Init(pass,__pRT__,snd);
_PPCContext_Init(pass,__pRT__,snd);
_PPCContextMemento_Init(pass,__pRT__,snd);
_PPCGuard_Init(pass,__pRT__,snd);
_PPCInlineStrategy_Init(pass,__pRT__,snd);
_PPCMethod_Init(pass,__pRT__,snd);
_PPCMethodStrategy_Init(pass,__pRT__,snd);
_PPCNode_Init(pass,__pRT__,snd);
_PPCOptimizationResult_Init(pass,__pRT__,snd);
_PPCompiledParser_Init(pass,__pRT__,snd);
_PetitBenchmark_Init(pass,__pRT__,snd);
_PetitBenchmarkSources_Init(pass,__pRT__,snd);
_stx_137goodies_137petitparser_137compiler_Init(pass,__pRT__,snd);
_PPCAbstractCharacterNode_Init(pass,__pRT__,snd);
_PPCAbstractLiteralNode_Init(pass,__pRT__,snd);
_PPCAbstractPredicateNode_Init(pass,__pRT__,snd);
_PPCAnyNode_Init(pass,__pRT__,snd);
_PPCDelegateNode_Init(pass,__pRT__,snd);
_PPCInlinedMethod_Init(pass,__pRT__,snd);
_PPCListNode_Init(pass,__pRT__,snd);
_PPCNilNode_Init(pass,__pRT__,snd);
_PPCPluggableNode_Init(pass,__pRT__,snd);
_PPCProfilingContext_Init(pass,__pRT__,snd);
_PPCStarAnyNode_Init(pass,__pRT__,snd);
_PPCStarCharSetPredicateNode_Init(pass,__pRT__,snd);
_PPCStarMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCUnknownNode_Init(pass,__pRT__,snd);
_PPCAbstractActionNode_Init(pass,__pRT__,snd);
_PPCAndNode_Init(pass,__pRT__,snd);
_PPCCharSetPredicateNode_Init(pass,__pRT__,snd);
_PPCCharacterNode_Init(pass,__pRT__,snd);
_PPCChoiceNode_Init(pass,__pRT__,snd);
_PPCForwardNode_Init(pass,__pRT__,snd);
_PPCInlineAnyNode_Init(pass,__pRT__,snd);
_PPCInlineCharacterNode_Init(pass,__pRT__,snd);
_PPCInlineLiteralNode_Init(pass,__pRT__,snd);
_PPCInlineNilNode_Init(pass,__pRT__,snd);
_PPCInlineNotLiteralNode_Init(pass,__pRT__,snd);
_PPCInlinePluggableNode_Init(pass,__pRT__,snd);
_PPCLiteralNode_Init(pass,__pRT__,snd);
_PPCMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCNegateNode_Init(pass,__pRT__,snd);
_PPCNotCharSetPredicateNode_Init(pass,__pRT__,snd);
_PPCNotLiteralNode_Init(pass,__pRT__,snd);
_PPCNotMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCNotNode_Init(pass,__pRT__,snd);
_PPCOptionalNode_Init(pass,__pRT__,snd);
_PPCPlusNode_Init(pass,__pRT__,snd);
_PPCPredicateNode_Init(pass,__pRT__,snd);
_PPCSequenceNode_Init(pass,__pRT__,snd);
_PPCStarNode_Init(pass,__pRT__,snd);
_PPCTokenNode_Init(pass,__pRT__,snd);
_PPCTokenStarMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCTrimNode_Init(pass,__pRT__,snd);
_PPCTrimmingTokenNode_Init(pass,__pRT__,snd);
_PPCActionNode_Init(pass,__pRT__,snd);
_PPCInlineCharSetPredicateNode_Init(pass,__pRT__,snd);
_PPCInlineMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCInlineNotCharSetPredicateNode_Init(pass,__pRT__,snd);
_PPCInlineNotMessagePredicateNode_Init(pass,__pRT__,snd);
_PPCSymbolActionNode_Init(pass,__pRT__,snd);
_PPCTokenSequenceNode_Init(pass,__pRT__,snd);
_stx_137goodies_137petitparser_137compiler_extensions_Init(pass,__pRT__,snd);
__END_PACKAGE__();
}