# Developing a go bot embedding ichiban Prolog

**URL:** <https://forum.devtalk.com/t/developing-a-go-bot-embedding-ichiban-prolog/171409>\
**Category:** In The News\
**Tags:** prolog, in-the-news\
**Created:** [24 September 2024 02:02 UTC](https://forum.devtalk.com/t/developing-a-go-bot-embedding-ichiban-prolog/171409 "2024-09-24T02:02:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [24 September 2024 02:02 UTC](https://forum.devtalk.com/t/developing-a-go-bot-embedding-ichiban-prolog/171409/1 "2024-09-24T02:02:27Z")

</div>

> Developing a go bot embedding ichiban Prolog.  
> Ichiban Prolog is a #golang implementation of an ISO compatible Prolog. To learn how to embed it, I decided to add Prolog support to Hellabot, a simple irc bot.  
> Hellabot design requires to program its triggers using a two step process as described in the code below:  
> type Trigger struct { // Returns true if this trigger applies to the passed in message Condition func(\*Bot, \*Message) bool // The action to perform if Condition is true // return true if the message was ‘consumed’ Action func(\*Bot, \*Message) bool }

Read in full here:

> **[Developing a go bot embedding ichiban Prolog](https://rogersm.net/posts/developing-a-go-bot-embedding-ichiban-prolog/)**
>
> Ichiban Prolog is a #golang implementation of an ISO compatible Prolog. To learn how to embed it, I decided to add Prolog support to Hellabot, a simple irc bot.
> Hellabot design requires to program its triggers using a two step process as described in...

_This thread was posted by one of our members via one of our news source trackers._
