Project

notation

0.0
No release in over 3 years
Low commit activity in last 3 years
The notation library provides unicode symbols that you can use as methods instead of using standard method names.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Ruby

Description

Unicode methods for Ruby.

Installation

gem install notation

Installing the Trusted Cert

gem cert --add <(curl -Ls https://raw.githubusercontent.com/djberg96/notation/main/certs/djberg96_pub.pem)

Synopsis

require 'notation'
   
λ { puts "hello" } # => "Hello"
 [1,2,3]          # => 6
 [2,3,4]          # => 24
 49               # => 7.0

Author's Notes

This library was inspired by the programming language Fortress, an offshoot of Fortran, created by Sun. Fortress supports unicode operators baked into the language.

Restrictions

The ability to add unicode methods is limited to method names that have no receiver. This is a limitation of the Ruby parser.

Copyright

(C) 2009-2021 Daniel J. Berger All Rights Reserved

License

Apache-2.0

Author

Daniel Berger