forked from pmichaud/pmtcl
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
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
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
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
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,50 @@ | ||
our sub interp(*@args) { | ||
if +@args < 1 { | ||
error('wrong # args: should be "interp subcommand ?argument ...?"'); | ||
} | ||
|
||
my @opts := <alias aliases bgerror create delete eval exists expose hide hidden invokehidden limit issafe marktrusted recursionlimit share slaves target transfer>; | ||
my $cmd := _tcl::select_option(@opts, @args.shift(), 'subcommand'); | ||
|
||
if $cmd eq 'alias' { | ||
return ''; | ||
} elsif $cmd eq 'aliases' { | ||
return ''; | ||
} elsif $cmd eq 'bgerror' { | ||
return ''; | ||
} elsif $cmd eq 'create' { | ||
return ''; | ||
} elsif $cmd eq 'delete' { | ||
return ''; | ||
} elsif $cmd eq 'eval' { | ||
return ''; | ||
} elsif $cmd eq 'exists' { | ||
return ''; | ||
} elsif $cmd eq 'expose' { | ||
return ''; | ||
} elsif $cmd eq 'hide' { | ||
return ''; | ||
} elsif $cmd eq 'hidden' { | ||
return ''; | ||
} elsif $cmd eq 'invokehidden' { | ||
return ''; | ||
} elsif $cmd eq 'limit' { | ||
return ''; | ||
} elsif $cmd eq 'issafe' { | ||
return 0; | ||
} elsif $cmd eq 'marktrusted' { | ||
return ''; | ||
} elsif $cmd eq 'recursionlimit' { | ||
return ''; | ||
} elsif $cmd eq 'share' { | ||
return ''; | ||
} elsif $cmd eq 'slaves' { | ||
return ''; | ||
} elsif $cmd eq 'target' { | ||
return ''; | ||
} elsif $cmd eq 'target' { | ||
return ''; | ||
} | ||
} | ||
|
||
# vim: filetype=perl6: |