Skip to content

shintakezou/gosnusp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoSNUSP

SNUSP is a “two-dimensional” esolanguage.

This code implement a Core, Modular and Bloated SNUSP interpreter in the Go programming language. Updated to use the new (and sick, I daresay) go.mod thing.

Github.io page could contain a reference, in case you won't take a look at the given links (why not?)… Actually the page is just a test, and likely it will stay as it is forever (but never say never — though there's not tooo much to say about SNUSP you can't find elsewhere, and written better…)

Building

From inside the src directory, as simple as

go build -o gosnusp

The go.mod states the Go version must be 1.20, but any version with the go.mod system should work fine.

Links and resources

The repository contains also examples taken here and there. Other useful links or alike:

Notes

  • not fully tested (yet?)
  • Modular SNUSP (which is the default) comes in two “flavours”; I call the second flavour twisted — which is now the default. If a modular SNUSP code does not work, try -twist=false flag… (examples in the SNUSP page on esolangs.org are all “twisted”). If the code does not work anyway, you have found a bug — it would be nice if you let me know.
    • The difference between twisted and untwisted Modular SNUSP is in how the Enter (@) and Leave (#) command behave. Details in the code (sorry) and explicative example on the blog.
  • current memory cell value should be given as program return code? It is not so (yet?)
  • I am a Go absolute beginner
    • and so far I don't like very much what they did with go.mod; maybe a simple project like this can be organized so that the new module system won't bother you? Anyway I dislike how it works, and how I can't immediately refer to local packages inside the very same project without going through that go.mod file.

Maybe-wanted features

  • Join for Bloated SNUSP?

About

SNUSP interpreter in Go

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages