glycerine / zygomys

Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.
https://github.com/glycerine/zygomys/wiki
BSD 2-Clause "Simplified" License
1.71k stars 81 forks source link

Added 'split' function similar to the clojure split function #7

Closed eliothedeman closed 8 years ago

eliothedeman commented 8 years ago

Not sure if it would make sense to support regex matches or not, but raw strings were easiest.

glycerine commented 8 years ago

Hi Eliot @eliothedeman,

This looks good. If you would, kindly add a short tests/split.zy to demonstrate and test the new split function.

Thanks!

Jason

eliothedeman commented 8 years ago

Thanks for the feedback so fast!

glycerine commented 8 years ago

merged, thanks @eliothedeman