-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e71515f
commit 0994481
Showing
11 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
repository/Pinocchio.package/PDebugger.class/instance/compile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
shelling | ||
shell | ||
compile: code | ||
| method | | ||
method := 'method', String lf, code. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Pinocchio.package/PDebugger.class/instance/displayPrompt.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
shelling | ||
shell | ||
displayPrompt | ||
PVTermOutputDriver stdout << 'pidb> ' |
6 changes: 4 additions & 2 deletions
6
repository/Pinocchio.package/PDebugger.class/instance/interpretFromStdin.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
shelling | ||
shell | ||
interpretFromStdin | ||
^ self interpretLine: PFile stdin readLine | ||
| readline | | ||
readline := PReadLine from: PFile stdin to: PVTermOutputDriver stderr for: self. | ||
^ self interpretLine: readline readLine. |
2 changes: 1 addition & 1 deletion
2
repository/Pinocchio.package/PDebugger.class/instance/interpretLine..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
repository/Pinocchio.package/PDebugger.class/instance/isReady..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
shell | ||
isReady: code | ||
^ true |
6 changes: 6 additions & 0 deletions
6
repository/Pinocchio.package/PDebugger.class/instance/parsesUntil..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
shell | ||
parsesUntil: code | ||
[ PSmalltalkGrammar instance parseStatements: code ] | ||
on: PEGParsingFailure | ||
do: [ :ex | ex input atEnd ifFalse: [ ^ ex input position ] ]. | ||
^ nil |
2 changes: 1 addition & 1 deletion
2
repository/Pinocchio.package/PDebugger.class/instance/print..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
shelling | ||
shell | ||
print: msg | ||
self indent. (PVTermOutputDriver stderr) << msg; lf. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
shelling | ||
shell | ||
shell | ||
escapeShell := [ :input | ^ input ]. | ||
true whileTrue: [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.