syntax highlighting modes?

64 views
Skip to first unread message

Silvius Rus

unread,
Jun 24, 2011, 12:34:18 PM6/24/11
to szl-users


Hello,

I'm evaluating Sawzall and so far all seems to work well. Our goal is
to increase our engineers' productivity. While Sawzall code is much
more compact/expressive than, say, Java, I miss syntax highlighting.
Do you have Emacs/XEmacs/VIM modes for Sawzall that you could share?

Thank you,
Silvius

David Hilley

unread,
Jun 24, 2011, 3:50:15 PM6/24/11
to szl-...@googlegroups.com

Hi Silvius, I'll try to open-source the internal Emacs/XEmacs syntax
highlighting mode and add it to the repository.

--
David Hilley (d...@google.com)

Edwin Smulders

unread,
Jun 24, 2011, 6:49:12 PM6/24/11
to szl-...@googlegroups.com
This worked well for me: http://code.google.com/p/szl-vim-syntax/

:)

Silvius Rus

unread,
Jun 24, 2011, 8:30:07 PM6/24/11
to szl-...@googlegroups.com

Hello David,

That would be wonderful.  Looking forward to it.

Thank you,
Silvius

Silvius Rus

unread,
Jun 24, 2011, 8:35:22 PM6/24/11
to szl-...@googlegroups.com
Ouch, I should have googled "sawzall vim" first :).  I did try "sawzall emacs" and that didn't go anywhere.  Anyway, I'd still like the xemacs/emacs mode as well, so let's hope David can open source it.

Thank you,
Silvius

hblanks

unread,
Jun 26, 2011, 12:18:35 PM6/26/11
to szl-users
Silvius,

I spent some time with sawzall shortly after it was open sourced, but
the consensus back then was that Google had not open sourced the parts
of sawzall needed to actually make it useful: i.e., the tools
necessary for aggregating the output of multiple runs. In the current
codebase, you easily process data when running with a single process,
but you can't aggregate the output of multiple processes (or servers)
without writing your own tools against the C++ library, since those
tools had been omitted from the open source codebase. That was a
pretty big deal breaker, since the point of sawzall is to merge
distributed data-flows without resorting to a language like Java or C+
+.

Are you planning to only use sawzall in single execution runs, or do
you already have some scheme for aggregating the output of multiple
sawzall runs?

Regards,

Hunter Blanks

Silvius Rus

unread,
Jun 26, 2011, 12:33:41 PM6/26/11
to szl-...@googlegroups.com
I'm looking at integrating it with a mapreduce implementation.  So far all worked well but I'm still fiddling with the type systems involved.  Once I have something working well we may contribute back code that allows you to aggregate results over multiple runs.  In case I don't get back to the list, feel free to ping me in a month.

Silvius

Anthony Urso

unread,
Jun 28, 2011, 5:05:47 PM6/28/11
to szl-...@googlegroups.com
I have an open-source implementation of Sawzall that integrates with
Hadoop here:

https://github.com/anthonyu/Sizzle

It's been a while since I have worked on it; however, if you notice
any problems, let me know and will fix them.

Cheers,
Anthony

David Hilley

unread,
Jul 8, 2011, 5:10:33 PM7/8/11
to szl-...@googlegroups.com, Silvius Rus
On Fri, Jun 24, 2011 at 5:30 PM, Silvius Rus <silvi...@gmail.com> wrote:
> Hello David,
> That would be wonderful.  Looking forward to it.
> Thank you,

Hi Silvius, it took a bit longer than expected with the July 4th
holiday weekend, but I got open source approval and just added
sawzall.el to the public szl svn repository in
trunk/src/contrib/elisp. Let me know if you have any problems using
it.

--
David Hilley (d...@google.com)

Silvius Rus

unread,
Jul 15, 2011, 8:13:18 PM7/15/11
to David Hilley, szl-...@googlegroups.com
Hello David,

It's working great out of the box.

Thank you!
Silvius

Reply all
Reply to author
Forward
0 new messages