sentence: prolog is by far the most popular host language and chr is included in several prolog implementations , including sicstus and swi-prolog , but chr implementations also exist for haskell , java and c .