Arc Day One
Jan. 30th, 2008 12:52 pmYesterday Paul Graham has released Arc which is a new dialect of Lisp. Looking at the tutorial I found quite a few things I like about the language. Not having invested a lot of time in Common Lisp or Scheme I don’t have a problem with = being for assignment and is being used for comparison.
For my first excursion into Arc I decided to convert the Perl programs I had written to solve the Project Euler problems into Arc. The first problem is to find the sum of all the multiples of 3 or 5 below 1000.
Both versions are short and to the point. I think there is a better way to handle the loop and accumulation of the sum in Arc. I like what I’ve seen of Arc so far and will keep studying it and see how it develops.