Skip to content
/ libgolf Public

Common utilities for implementing golfing language builtin libraries

License

Notifications You must be signed in to change notification settings

pxeger/libgolf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libgolf

libgolf is a library of common utilities for writing golfing language builtins. It currently includes:

  • List, a well-featured lazy list class
  • Character, a thin wrapper for representing Unicode characters
  • String, a wrapper around a List of Characters that behaves more like Python's built-in str type
  • vectorise, a higher-order function (or decorator) for automatically mapping a function over its arguments

libgolf aims to semi-standardise these features across golfing languages by allowing them to be shared, and provide high-quality code with unit tests to ensure robustness of their implementations.