shlogg · Early preview
Shrijith Venkatramana @shrsv

Building A GoLang Based Toy REPL With Makefile Automations

Building a toy REPL in GoLang with go-repl library, creating a Makefile for automations & implementing basic commands like help, hello & quit. Next up: tweaking the REPL for DBChat concept.

Hi there! I'm Shrijith Venkatrama, the founder of Hexmos. Right now, I’m building LiveAPI, a super-convenient tool that simplifies engineering workflows by generating awesome API docs from your code in minutes.
In this tutorial series, I am on a journey to build for myself DBChat - a simple tool for using AI chat to explore and evolve databases.
See previous posts to get more context:

Building DBChat - Explore and Evolve Your DB with Simple Chat (Part 1)

  
  
  Kicking Off The DBChat Project

The first step is to start a GoLang project:

go mod init dbchat
mkdir -p cmd/dbchat pkg
touch cmd/...