refactor: パース関数を統合し重複を解消 #13
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
CLAUDE.mdの高優先度タスク「関数名重複問題の解決」を完了しました。
変更内容
統合されたパース関数
parse-number: 汎用的な数値パース(失敗時はnilを返却)parse-number-or-exit: エラー時にプロセス終了する数値パース削除された重複関数
parse-floatおよびsafe-parse-float(util.lisp)parse-speed-float(validate.lisp)修正箇所
src/util.lisp: 新しいパース関数を実装、古い関数を削除src/validate.lisp:parse-speed-floatを削除、parse-numberを使用src/video.lisp:safe-parse-floatをparse-number-or-exitに置換src/package.lisp: エクスポートリストを更新t/test-validate.lisp: テストケースを新しい関数に対応テスト結果
改善効果
*read-eval* nil設定によるコード実行防止🤖 Generated with Claude Code