Arc Forumnew | comments | leaders | submitlogin
1 point by thaddeus 6076 days ago | link | parent

Ok,after reading many posts I found the right one; and can see people had already figured out a means to do this....

http://arclanguage.org/item?id=3849

To date I have just been downloading the anarki directory, but tonight I'm going to try using the "git stable" method.

Question for you CatDancer, is your copy of Arc2 the equivalent of 'git stable' ?

I don't find I am using many of the optional features in anarki (so far I only use parsecomb and arcformat which are awesome) and if I do I was thinking I could drop them on top of your arc2 copy.

Thanks, T.



1 point by CatDancer 6075 days ago | link

so far I only use parsecomb and ...

Were you able to get parsecomb to do anything? I was able to get it to make matches, but I couldn't figure out how to get it to tell me which match had been made. (For example, I could have it match a number or a string, but if it matched "123" I would get "123" returned to me but I couldn't figure out how to tell that it was a number that had been matched).

iirc, I ran parsecomb in pg's arc2 by removing the documentation strings from the beginning of the def's in the source.

-----

1 point by thaddeus 6075 days ago | link

Sorry. I meant 'parser'. I use it to feed code into arcformat. Let's me un-expand for presentation purposes.

T.

-----

1 point by CatDancer 6075 days ago | link

is your copy of Arc2 the equivalent of 'git stable'

My copy of Arc2 is pg's original arc2, which I got from http://arclanguage.org/install; I haven't looked at Anarki's stable branch.

-----