• R/O
  • SSH

Joypy: コミット

Main interpreter and library.


コミットメタ情報

リビジョン438748ae49e1b7966a358bc0a44129b5623a0e29 (tree)
日時2019-08-14 03:58:31
作者Simon Forman <sforman@hush...>
コミッターSimon Forman

ログメッセージ

minor cleanup

変更サマリ

差分

diff -r 535eb7f5821e -r 438748ae49e1 thun/gnu-prolog/DCG_basics.pl
--- a/thun/gnu-prolog/DCG_basics.pl Tue Aug 13 11:51:41 2019 -0700
+++ b/thun/gnu-prolog/DCG_basics.pl Tue Aug 13 11:58:31 2019 -0700
@@ -52,8 +52,6 @@
5252 is_glyph(Ch) :- Ch =\= 0'[, Ch =\= 0'], between(0'!, 0'~, Ch).
5353 is_space(Ch) :- Ch =:= 32 ; between(9, 13, Ch).
5454
55-one_or_more(E, List) --> one_or_more_(List, E).
55+one_or_more(P, [Ch|Rest]) --> call(P, Ch), one_or_more(P, Rest).
56+one_or_more(P, [Ch] ) --> call(P, Ch).
5657
57-one_or_more_([Ch|Rest], P) --> call(P, Ch), one_or_more_(Rest, P).
58-one_or_more_([Ch], P) --> call(P, Ch).
59-
旧リポジトリブラウザで表示