Skip to content
/ pynock Public
forked from jtauber/pynock

An implementation of Nock in Python

License

Notifications You must be signed in to change notification settings

gtimoth/pynock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynock

An implementation of Nock in Python.

======

Forked from jtauber.

added parse_noun(s) which forms a tree from a string that represents a noun in typical nock syntax (i.e. "[44 [55 66] 77]")

the output of parse_noun(s) can be run in nock(noun)

in your terminal, you can run python nock.py <cell> to run nock on that cell using the head as the subject and the tail as the formula

example: python nock.py "[70 [8 [1 0] 8 [1 6 [5 [0 7] 4 0 6] [0 6] 9 2 [0 2] [4 0 6] 0 7] 9 2 0 1]]"

69

About

An implementation of Nock in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%