私のコードは、それがファイル内からの読み取りを停止見つけたときに停止することになったが、そのされていません。エラーが発生し続ける: % reads in a character and then checks whether this character is a blank,
% a carriage return or the end of the stream. In any of the
私はこのコードを完璧に実行するよりも..本当の..返すときは値が大丈夫ですが返答が返ってこない...終わったらいつも空リストを返す..インスタンス生成変数.. createNewList(Capacity,RemainingNumbers,Bins,ExtendedBins).
createNewList(0,Bins,Bins,ExtendedBins,ExtendedBins).
c
私はこの形式に一致するすべてのリストを認識するDCGを構築しようとしています:a^n b^2m c^2m d^n。 s --> []. s --> ad. ad --> a, ad, d. ad --> bc. bc --> b, b, bc, c, c. bc --> []. a --> [a]. b --> [b]. c --> [c]. : は、私は、次のルールを書かれています リスト[a,