Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Latest commit

 

History

History
56 lines (44 loc) · 981 Bytes

README.rst

File metadata and controls

56 lines (44 loc) · 981 Bytes

Test case:

>>> pycfl('+((!+[]+!![]+[])+(+!![]))')
1+1+0
1
'21'

>>> pycfl('+((!+[]+!![]+!![]+[])+(!+[]+!![]))')
1+1+1+0
1+1
'32'

>>> pycfl('!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]')
1+1+1+1+1+1+1+1
'8'

>>> pycfl('+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))')
1+1+1+0
1+1+1+1+1+1+1
'37'

>>> pycfl('+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))')
1+1+1+1+0
1+1+1+1+1+1+1
'47'

>>> pycfl('!+[]+!![]+!![]+!![]+!![]+!![]')
1+1+1+1+1+1
'6'

>>> pycfl('+((+!![]+[])+(!+[]+!![]+!![]))')
1+0
1+1+1
'13'

>>> pycfl('+((!+[]+!![]+!![]+[])+(+[]))')
1+1+1+0
0
'30'

>>> pycfl('+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]))')
1+1+1+0
1+1+1+1+1+1
'36'

>>> pycfl('+((!+[]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]))')
1+1+0
1+1+1+1+1
'25'

>>> pycfl('+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]))')
1+1+1+0
1+1+1+1+1+1+1+1
'38'