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

[dummy13の試用] ExpressionBuilderのdebug用関数について #8

Open
mmmaru777 opened this issue Jul 24, 2014 · 1 comment
Open
Assignees
Milestone

Comments

@mmmaru777
Copy link

ExpressionBuilderのdebug用にpushされた式が見えると嬉しい気がします(長い式を作りたい場合の確認用に), また長い式でfilterした後に,ちょっと変更する(途中から作り直したい)場合のpop関数があると嬉しい気がします。

@s-yata
Copy link
Contributor

s-yata commented Jul 25, 2014

デバッグ段階では, ExpressionBuilder により構築された式が期待通りになっているか確認できると,たしかに便利だと思います.
確認方法については,式を文字列で表現したものを返すなどの方法を検討してみます.

ただ, pop 関数を提供して巻き戻しをするようなインタフェースについては,かなり難しいのではないかと思います.
というのも,部分式の定数への置き換えや,効率的に演算できる式への置き換えといったことをおこなう可能性があるからです.
基本的にはブラックボックスにしようと考えています.

代わりに,完成した式を ExpressionBuilder に入力できるようにすることを検討してみようと思います.

@s-yata s-yata self-assigned this Jul 29, 2014
@s-yata s-yata reopened this Jul 29, 2014
@s-yata s-yata added this to the アイスボックス milestone Jul 31, 2014
@daijiro daijiro added this to the アイスボックス milestone Jul 31, 2014
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

3 participants