equal
deleted
inserted
replaced
404 "Modified: / 24-08-2015 / 23:39:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
404 "Modified: / 24-08-2015 / 23:39:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
405 ! ! |
405 ! ! |
406 |
406 |
407 !PPParser methodsFor:'*petitcompiler'! |
407 !PPParser methodsFor:'*petitcompiler'! |
408 |
408 |
409 compile: options |
409 compile:options |
410 | configuration | |
410 | compiler | |
411 |
411 |
412 self assert: (options isKindOf: PPCCompilationOptions). |
412 self assert:(options isKindOf:PPCCompilationOptions). |
413 |
413 compiler := PPCCompiler default. |
414 configuration := PPCConfiguration default. |
414 compiler context options:options. |
415 configuration context options: options. |
415 ^ compiler compile:self |
416 ^ configuration compile: self |
|
417 |
416 |
418 "Modified: / 28-08-2015 / 14:25:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
417 "Modified: / 28-08-2015 / 14:25:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
419 ! ! |
418 ! ! |
420 |
419 |
421 !PPParser methodsFor:'*petitcompiler'! |
420 !PPParser methodsFor:'*petitcompiler'! |
437 ! ! |
436 ! ! |
438 |
437 |
439 !PPParser methodsFor:'*petitcompiler'! |
438 !PPParser methodsFor:'*petitcompiler'! |
440 |
439 |
441 compileTokenizing |
440 compileTokenizing |
442 | configuration | |
441 | compiler | |
443 configuration := PPCConfiguration tokenizing. |
442 |
444 ^ self compileWithConfiguration: configuration |
443 compiler := PPCCompiler tokenizing. |
445 ! ! |
444 ^ self compileUsingCompiler: compiler |
446 |
445 ! ! |
447 !PPParser methodsFor:'*petitcompiler'! |
446 |
448 |
447 !PPParser methodsFor:'*petitcompiler'! |
449 compileWithConfiguration: configuration |
448 |
450 ^ configuration compile: self |
449 compileUsingCompiler:aPPCCompiler |
|
450 ^ aPPCCompiler compile:self |
451 ! ! |
451 ! ! |
452 |
452 |
453 !PPParser methodsFor:'*petitcompiler'! |
453 !PPParser methodsFor:'*petitcompiler'! |
454 |
454 |
455 firstSetSuchThat: block |
455 firstSetSuchThat: block |