-
Notifications
You must be signed in to change notification settings - Fork 14
Sindarin extracting core #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sindarin extracting core #61
Conversation
adri09070
commented
Mar 23, 2023
- moving SindarinDebugSession and SindarinDebugger to Sindarin-Core package
- All methods doing things about core concepts became extension methods of SindarinDebugger
- Setting flags for TODOs
- refactoring methods to use the Sindarin API within Sindarin
- extracting methods from longer methods
- removing unused methods
- renaming unclear methods
- categorizing uncategorized classes
…de the API, formatting code
…on method correctly
|
There's something that bothers me. Iceberg doesn't want to commit the deletion of the class |
|
Argh, I wanted to move documentation to a But now, I have problems and I don't understand why |
|
Ah, here it goes! Don't bother about the last 5 commits |
…thods. Notably, moving core of SindarinDebugger to the trait TSindarin
| byte := encoderClass nonExtensionBytecodeAt: pc in: self method. | ||
| ^ #( 243 244 245 252 ) includes: byte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment refering to the method that details the bytecode numbers.
| TSindarin >> basicStep [ | ||
|
|
||
| self debugSession stepInto | ||
| ] | ||
|
|
||
| { #category : #'debug - stepping' } | ||
| TSindarin >> basicStepOver [ | ||
|
|
||
| ^ self debugSession stepOver | ||
| ] | ||
|
|
||
| { #category : #'debug - stepping' } | ||
| TSindarin >> basicStepThrough [ | ||
|
|
||
| self debugSession stepThrough |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment explaining the "basic"
| "* 70 */ primitiveNew, | ||
| /* 71 */ primitiveNewWithArg, | ||
| /* 79 */ primitiveNewMethod, | ||
| /* 148 */ primitiveClone, | ||
| /* 160 */ primitiveAdoptInstance" | ||
|
|
||
| self flag: 'These numbers may have changed. This is to be checked'. | ||
| ^ #( 70 71 79 148 160 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference to the VM repo where those primitive numbers are indicated.