4 ms·
First impressions: - Pretty nice. It's something I might use. - Scrolling is a bit choppy (OS X Chrome). I'm not a fan of re-inventing scroll bars. - I wish
by jkkramer 15y ago
First impressions:
- Pretty nice. It's something I might use.
- Scrolling is a bit choppy (OS X Chrome). I'm not a fan of re-inventing scroll bars.
- I wish the meta info was displayed on the page rather than having to click to reveal it. There's more than enough room.
- A button to create a new pastebin would be useful
- Needs support for Clojure (or even just Lisp)
- jmonegro 15y ago- Thank you, I appreciate it :) - Funny you should say, I'm actually on OS X Chrome and I don't find it all that choppy. Could you elaborate on that? - You're probably right. - I figured the root url (codr.cc) serves as a new pastebin button. - As I mentioned in another comment, I have to write new code engines by myself, which is a bit harder with languages I'm not familiar with. However, if I see the project take off, I will put some time into supporting more and more languages. Thanks!
- tomjen3 15y agoLisp has some of the easist syntax there is (only other contender is whitespace). (function-call (+ 5 4) 9 "Hello I like your service" `(this is read as a list of keywords rather than as a call to the function this with the rest as arguments ,the-value-of-me-is-inserted-due-to-the-comma this-keyword-is-not-changed)) Is pretty much the entirety of Lisp syntax.
- jmonegro 15y agoLooks good. I'll keep it in mind. You can follow development updates over at codr.posterous.com
- RodgerTheGreat 15y agoYou could also add basic Forth support very easily. In Forth, everything is composed of whitespace-delimited tokens. A token is either an integer or a word. Forth uses metaprogramming to make the syntax extensible, but the most common words with special syntax are comments and string constants. \ is a single-line comment that skips until the next newline, ( is a multiline comment that skips until the next end paren, ." is an inline print string that scans until the next quote, and it has a counterpart .s" string constant that works the same. Bingo, one basic Forth tokenizer! There's a great manual for GForth[1], in case you're curious to see what some code looks like or give the language a spin. [1]http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/ http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/