apricot-lang / apricot

Clojure-like Lisp on Rubinius
94 stars 7 forks source link

Updating Readme with some basic use cases. #24

Closed jah2488 closed 12 years ago

jah2488 commented 12 years ago

I'd like to make sure all of these examples I've come up with mesh with the idea everyone has for the language. Other than that, I plan on adding more to this read me as I have time and hope that helps other people get interested in the project.

solson commented 12 years ago

Nice examples, but most of this is uglier than Apricot should be just because we don't yet have a core library with functions and macros like defn, =, puts, and so on. I think we should include a bit of a disclaimer that this isn't what Apricot will look like, just what works right now (like I did in examples/bot.apr).

You shouldn't indent the code inside those backtick blocks, or the indentation is actually shown inside the code box in the rendered HTML.

jah2488 commented 12 years ago

I have to agree with everything. Sorry about the premature pull request. I was working in the REPL and working on the read me in another tab and should have double checked before submitting the request.

I agree that most of this will be cleaned up once Apricot has a core library, I'll be sure to add some type of disclaimer on the fact that this just how Apricot is right now and not representative of the finished language.

I'll fix the tings you pointed out and make a few more updates on the read me this weekend and send another pull. I'll close this one up.