4

Prototyping a Computer Algebra System in Go

 3 years ago
source link: https://sj14.gitlab.io/post/2016/02-01-computer-algebra/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
2016-02-17
The Webinterface

Description

It was time for my bachelor thesis and I was thinking about the topic. At this time I was totally hyped by Go (and I’m still), so I wanted to find something related. As I am always curious how things work, I wanted to research a calculator with simple algebraic operations and a web interface based on Bootstrap. Of course, this was highly inspired by all students favourite Wolfram Alpha ;-)

The good

I figured out, how these calculators work and my curiosity is kind of satisfied ;-)
In the end, the magic keyword is “Abstract Syntax Tree”, which is also related to compiler construction (which I did not have in university)

The bad

Retrospectively, I had taken too little time on the whole, especially for the research in the beginning. It was too much of agile development, which is not a good approach for a thesis ;-) I definitely wanted to use Go for the project, but functional programming languages such as Haskell might be a better fit for the job.

Technologies used

Go, Bootstrap

Demo

Github Repository

(This post was written in February 2018. I finished my bachelor in February 2016 and the date of this post was set accordingly, to have a correct chronological order of all projects.)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK