!Any suggestion, comment, improvement of code is very welcome!\nmy email is attila dot vrabecz at gmail dot com
AttilaVrabecz\nRosettaStone\nKByExample\nK4ByExample\nQByExample\nSimulationCodes\nLanguageShootout\nLanguageComparisons\nPythonCookbook\nSyntaxHighlighting\n[[Links]]\n
[[kbyeg4.k|kbyeg4.k]]\nparallel to KByExample and QByExample
[[kbyeg.k|kbyeg.k]]\nbased on J by example by [[Oleg Kobchenko|http://olegykj.sourceforge.net/]]\n\n
|[[Fractal Benchmark|http://www.timestretch.com/FractalBenchmark.html]]|{{{\st `show$80 80#" *"4>@[n;&0n=n:+/_sqr 1000{c+(-/x*x;2*/x)}/c:+,/(-2+(!80)%30),/:\s:-1+(!80)%40;:;4]}}}|[[mandel.k|mandel.k]]|\n|[[Matrix Inversion|http://fisher.stats.uwo.ca/faculty/aim/epubs/MatrixInverseTiming/default.htm]]|{{{\st _inv .5^_abs i-/:i:!1000}}}|[[inv.k|inv.k]]|\n|[[Polynom benchmark|http://dan.corlan.net/bench.html]]|{{{\st +/500000{(|2.+8.*\s100#.5)_dot 1.*\s100#.2}\s0.}}}|[[poly.k|poly.k]]|\n*LanguageShootout\n*[[Mathschallenge.net Euler Project|http://mathschallenge.net/index.php?section=project]]\n*[[Andreas' practical language comparison|http://www.kochandreas.com/home/index2.htm]]\n*[[Black-Scholes in Multiple Languages|http://www.espenhaug.com/black_scholes.html]]\n*[[Hanoimania!|http://www.kernelthread.com/hanoi/]]
[[The revived Computer Language Shootout Benchmark|http://shootout.alioth.debian.org/]]\nSome K "solutions"\n|Ackermann|{{{{:[~x;y+1;~y;_f[x-1;1];_f[x-1;_f[x;y-1]]]}[3;8]}}}|\n|Takeuchi|{{{{:[~y<x;z;_f[_f[x-1;y;z];_f[y-1;z;x];_f[z-1;x;y]]]}. 3 2 1.*5}}}|\n|Word count|{{{(#:;+/(+/1<':" "=)';+/#:')@\s:0:"wc-input.txt"}}}|\n|Sum col file|{{{+/0$0:"sumcol-input.txt"}}}|\n|Spellcheck|{{{i@&(#d)=(d:`$'0:`Usr.Dict.Words)?/:i:`$0:"spellcheck-input.txt"}}}|\n|Mandelbrot|{{{b:4>@[n;&0n=n:+/_sqr 50{c+(-/x*x;2*/x)}/c:+,/(-1.5+2*(!w)%w),/:\s:-1+2*(!w)%w:200;:;4];`mandel.pbm 6:"P4\sn",(5:2#w),"\sn",_ci 2_sv'-1 8#,/+(2#w)#b}}}|\n|N-body simulation|[[nbody.k|nbody.k]]|\n[img[Mandelbrot converted to PNG|mandel.png]]
*[[Kx Systems Inc.|http://kx.com]]\n*[[KxForums|http://www.kxforums.com]]\n*[[Vector Online|http://www.vector.org.uk]]\n*[[No Stinking Loops|http://www.nsl.com]] - Stevan Apter\n*[[Simon Garland|http://271828.net]]\n*[[Milan Ondrus|http://homepage.hispeed.ch/milano]]\n*[[Christian Langreiter|http://www.langreiter.com/space/k-notes]]\n*[[K.CoSy|http://cosy.com/K/CoSy.htm]] - Bob Armstrong\n*[[Jason Nordwick|http://www.xcf.berkeley.edu/~nordwick/k]]\n*[[Studio for kdb+ and The Skelton Log|http://www.skelton.de]] - Charlie Skelton\n*Eberhard Lutz's old homepage revived [[lambda|http://www.e7l3.org/lambda.html]] [[kaylang|http://www.e7l3.org/lambda/kaylang.html]]\n*Ori Berger argues K being better [[1|http://discuss.joelonsoftware.com/default.asp?joel.3.263336.105]] [[2|http://discuss.fogcreek.com/joelonsoftware1/default.asp?cmd=show&ixPost=35501&ixReplies=12]]
KByExample\nK4ByExample\nQByExample\nRosettaStone\nSimulationCodes\nLanguageShootout\nLanguageComparisons\nPythonCookbook\nSyntaxHighlighting\n[[Links]]\n
Python vs. K/Q\nPython is said to be concise (compared to C/C++), K/Q is a magnitude terser (and faster)\n*English numbers [[count.k|pycook/count.k]]\n*Min-max peeks [[peek.k|pycook/peek.k]] [[peek.q|pycook/peek.q]]
[[qbyeg.q|qbyeg.q]]\nparallel to KByExample and K4ByExample\n
[[APL\s? - an early paper on J|http://portal.acm.org/citation.cfm?id=97808.97845&dl=GUIDE&dl=ACM&type=series&idx=SERIES404&part=Proceedings&WantType=Proceedings&title=International%20Conference%20on%20APL]]\nExpanded [[Anuy Gojal's work|http://goanuj.freeshell.org/k/]]\n\nALPHABET [[a.k|rosetta/a.k]] SPELLING [[b.k|rosetta/b.k]] GRAMMAR [[c.k|rosetta/c.k]] \nTABLES [[Da.k|rosetta/Da.k]] [[Db.k|rosetta/Db.k]] [[Dc.k|rosetta/Dc.k]] [[Dd.k|rosetta/Dd.k]]
*All pairs, no Periodic Boundary Conditions ~Lennard-Jones molecular dynamics ([[md.k|md.k]]) and the original [[C++ code|http://www.physics.buffalo.edu/phy411-506/Topic1/md.cpp]]\n*Hard Sphere Monte Carlo code [[hsmc.k|hsmc.k]] and parameters input file [[hsmc.start|hsmc.start]]
Apl/Lisp/C combined and simplified
K programming language
I’m a big fan of syntax highlighting. Especially, syntax highlighting for K is really rewarding (not everybody agrees with me:)).\nMy up to date favourite is ~EmEditor\n|!Editor|!Syntax files|!Screenshot|\n|[[EmEditor|http://www.emeditor.com]]|[[k.esy|syntax/k.esy]]|[[syntax...k|syntax/syntax.png]] [[nbody.k|syntax/kemeditor.png]]|\n|[[Colorer|http://colorer.sf.net]]|[[k.hrc|syntax/k.hrc]] [[k.hrd|syntax/k.hrd]]|[[nbody.k|syntax/kfar.png]]|\n|[[Vedit|http://vedit.com]]|[[k.syn|syntax/k.syn]]|[[md.k|syntax/kvedit.png]]|\nThe [[syntax.k|syntax/syntax.k]] file\nKByExample [[coloured pdf|syntax/kbyeg.pdf]]