10 karma · joined Jul 23, 2012 (14y ago) · 15 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
But for something even more fun, I suggest you check out Marpa (https://jeffreykegler.github.io/Marpa-web-site/). It is, by far, the nicest parsing tool I have ever worked with. Being able to parse ANY BNF is huge. And the state tables for debugging! Knowing what possibilities you have makes things way easier. Especially for getting stuck in an ambiguous spot of your grammer. Finally, using ruby slippers to get out of a tight spot is hugely useful.
My one complaint is that the only implementation is in Perl. The core engine is written in C though, so someday I would like to convert the Perl into Python. I started several months ago, and haven't been able to get back to it. (https://github.com/srathbun/pyMarpa)
3.
Parallel Processing with Promises(queue.acm.org ↗)
4 points · by srathbun · 11y ago · discuss
comment 12y ago · link · parent
You can get through it, but it is slower, and looks "funny" to a "native".
comment 13y ago · link · parent
See this frontline for details: http://www.pbs.org/wgbh/pages/frontline/retirement/world/401...
comment 13y ago · link · parent
It has Klen's python-mode plugin as a submodule: https://github.com/klen/python-mode
Python-mode provides awesome sause :) To get the repo, clone it recursively, or you won't have all the submodules. `git clone --recursive https://github.com/srathbun/vim-plugins.git ~/.vim`
comment 14y ago · link · parent
comment 14y ago · link · parent
I've currently got a three line prompt that includes info about my current repository: (git)[45afc8f02fef U master [origin/master ] ]
It lists type (git/hg) [checkout (U)pdated branch [remote branch] ]. It'll tell you how many branches different the remote is, what you are up to (staged), and colors.
That, better tab completion, and syntax highlighting of the command line are my killer features. I'm running a fork of the oh-my-zsh project, so you can see the features by grabbing a copy: https://github.com/srathbun/oh-my-zsh