Arc Forumnew | comments | leaders | submit | will's commentslogin
6 points by will 5918 days ago | link | parent | on: Remove lib/spec.arc - license violation

Hello,

This is Will Fitzgerald. I wrote spec, but haven't been writing any arc code recently. I put Spec under the artistic license because that it what Arc used. I would be glad to offer a different license if that seems necessary.

-----

1 point by cchooper 5917 days ago | link

The Artistic Licence covers only modifications to the original source code. Because your file is an addition, not a modification, you are free to license it as you please.

If you're not interested in the provisions of the Artistic License (e.g. people documenting their changes) then it would make sense to use a different license, or alternatively you could just release it into the public domain. But it's your file and you're free to do what you want with it.

-----

4 points by will 6153 days ago | link | parent | on: Templating language or MVC-style arc?

Why not both?

-----

5 points by will 6161 days ago | link | parent | on: Unit testing?

I wrote a specification-based unit testing framework called spec.arc. It's in the git wiki; also at http://www.entish.org/spec.arc

-----

1 point by byronsalty 6161 days ago | link

Cool - I'll check it out soon. Can you give us some code examples of usage in the meantime?

-----


() is nil:

arc> (is () nil) t

-----

2 points by will 6170 days ago | link | parent | on: More better Spec for Arc

I've added this to the git repository under 'lib'.

-----


Now catches errors in tests, too!

-----


(def sanskrit () "&#2325;&#2366;&#2330;&#2306; &#2358;&#2325;&#2381;&#2344;&#2379;&#2350;&#2381;&#2351;&#2340;&#2381;&#2340;&#2369;&#2350;&#2381; &#2404; &#2344;&#2379;&#2346;&#2361;&#2367;&#2344;&#2360;&#2381;&#2340;&#2367; &#2350;&#2366;&#2350;&#2381; &#2405;") #<procedure: sanskrit> arc> (sanskrit) "&#2325;&#2366;&#2330;&#2306; &#2358;&#2325;&#2381;&#2344;&#2379;&#2350;&#2381;&#2351;&#2340;&#2381;&#2340;&#2369;&#2350;&#2381; &#2404; &#2344;&#2379;&#2346;&#2361;&#2367;&#2344;&#2360;&#2381;&#2340;&#2367; &#2350;&#2366;&#2350;&#2381; &#2405;" arc> ((sanskrit) 0) #\&#2325; arc> ((sanskrit) 2) #\&#2330;

-----

2 points by will 6174 days ago | link

Well ... things look good in the REPL, but not so good in the forum. Sorry for the crud.

-----

1 point by will 6174 days ago | link | parent | on: Congrats on the release

well call me a dittohead and call me fanboy -- congrats on the release.

-----