Skip to content
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

-f オプションでパッケージ対応 #171

Closed
x022235 opened this issue Mar 25, 2012 · 0 comments
Closed

-f オプションでパッケージ対応 #171

x022235 opened this issue Mar 25, 2012 · 0 comments
Assignees
Milestone

Comments

@x022235
Copy link
Member

x022235 commented Mar 25, 2012

-f で関数名を指定するときにパッケージ名が付いていると関数の呼び出しに失敗する。

コマンドラインから指定された関数名を単純に user パッケージに intern しているため。
文字列を解析してパッケージ名部分を取り出して intern するようにする。

@ghost ghost assigned x022235 Mar 25, 2012
x022235 added a commit that referenced this issue Mar 25, 2012
例:

  xyzzy.exe -f pkg:foo
  xyzzy.exe -f pkg::foo

手抜きして read-from-string しているため、以下のようなオプションも指定可能:

  xyzzy.exe -f "(lambda () (pkg:foo)"

-e との違いは eval するか funcall するかの違いのみ。
@x022235 x022235 closed this as completed Mar 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant