Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はPrologでDCGを使用することに慣れようとして失敗しました。
言語a^nb ^ nを受け入れるための一連の文法規則を定義するにはどうすればよいですか?
例:aaaabbbbまたはabなど..
ありがとう :)。
ab --> []. ab --> [a], ab, [b].