[P4-discuss] Plans for p4 developer tooling, like editors?

Vladimir Gurevich vag at barefootnetworks.com
Wed Feb 10 20:18:19 EST 2016

Hello David,

I am not sure about an IDE (at least for now), but most modern (and not so
modern :) ) editors have extensive support for syntax highlighting.

I am attaching simple syntax highlighters for Vi and Emacs. They are,
indeed, quite simple and can be enhanced in numerous ways. Given that P4
syntax is not so big, publicly available and generally resembles many
popular languages,  it shouldn't be that hard to make your favorite editor
to highlight and properly indent P4 programs. That's what the community is
all about!

Also, I found that you can run CSCOPE on a P4 program and get very decent

Having said that, as the language development progresses there will be more
tools available. Personally, I would encourage people to develop plugins
for the existing frameworks, rather than creating totally new IDEs, but
that's my personal feeling.

Happy hacking,

On Tue, Feb 9, 2016 at 3:18 PM, KARR, DAVID <dk068x at att.com> wrote:

> I happened to notice this "p4" language for networking specifications.
> From a quick survey of the ecosystem, I don't see any information about
> developer support, like IDEs.  Are there any future plans for a
> syntax-directed P4 editor?
> _______________________________________________
> P4-discuss mailing list
> P4-discuss at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-discuss_lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20160210/4a95c628/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p4-mode.el
Type: application/octet-stream
Size: 4695 bytes
Desc: not available
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20160210/4a95c628/attachment.el>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p4.vim
Type: application/octet-stream
Size: 2976 bytes
Desc: not available
URL: <http://lists.p4.org/pipermail/p4-discuss_lists.p4.org/attachments/20160210/4a95c628/attachment.vim>

More information about the P4-discuss mailing list