News for hackers. Stuff that matters.

ktg

Re:Learn C and Build Your Own Lisp (2014) on Sunday July 08, 2018 @11:43AM (#17484315)
Re:LFGo – Lisp-Flavoured Go on Tuesday March 22, 2016 @08:32PM (#11341131)
Author here. L++ (Lisp-flavored C++) https://bitbucket.org/ktg/l
Re:GNU on Smartphones on Thursday January 14, 2016 @08:54AM (#10901350)
Good article
Re:LispyScript on Wednesday June 10, 2015 @12:19AM (#9690019)
In for, in-range is faster.

http://docs.racket-lang.org/reference/sequences.html?q=in-ra...

An in-range application can provide better performance for number iteration when it appears directly in a for clause.

    -> (for ([i (in-range 1 16)])
        (match (list (modulo i 3) (modulo i 5))
          [(list 0 0) (displayln "fizzbuzz")]
          [(list 0 _) (displayln "fizz")]
          [(list _ 0) (displayln "buzz")]
          [_          (displayln i)]))
Re:Functional Programming using JavaScript on Monday November 24, 2014 @09:27PM (#8655991)
See also fn.js (Functional JavaScript Library)| https://bitbucket.org/ktg/fn
Re:Flappy Bird in Swift on Tuesday June 03, 2014 @11:18AM (#7840690)
Re:You already use Lisp syntax on Wednesday May 21, 2014 @11:07AM (#7778610)
L++ is a programming language that transcompiles to C++. It uses Lisp-like syntax. Macros are supported via Racket's macro system define-syntax, define-syntax-rule and defmacro.

L++ | https://bitbucket.org/ktg/l

Re:L++ Language on Friday May 09, 2014 @10:23AM (#7720987)
v0.2: Macros are supported via Racket's macro system define-syntax.

The Paren Programming Language now supports threads.

Check out Paren and its friends.Host languages are: C++, Java, C#Paren | https://bitbucket.org/ktg/parenParenJ | https://bitbucket.org/ktg/parenjParen# | https://bitbucket.org/ktg/parensharp > (set t1 (thread (for i 1 10 1 (pr "" i)))) (set t2 (thread (for j 11 20 1 (pr "" j)))) (join t1) (join t2) 1 2 3 4 5 6 11 12 13 14 15 16 17 18 7 8 9 10 19 20

( Read More... | 1 comment | on HN )
Re:A Haskell Programmer Tries to Learn Racket on Wednesday April 16, 2014 @02:30AM (#7596402)
Javascript is a pretty cool programming language heavily influenced by Scheme. -> I couldn't agree with you more.

There is a Lisp-to-JS compiler (ParenJS). https://bitbucket.org/ktg/parenjs

Re:Little Lisp interpreter on Tuesday July 23, 2013 @10:37PM (#6094186)
Parenjs: Lisp-to-JavaScript compiler https://bitbucket.org/ktg/parenjs
Re:DrClojure 0.1.6 Released on Tuesday March 05, 2013 @11:32AM (#5325433)
Very Newbie-friendly Clojure IDE (GUI REPL).

Double click JAR_FILE to run.