Skip to content

Commit 3f923d4

Browse files
committed
Rename Bro to Zeek
1 parent 7a375f0 commit 3f923d4

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

README

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
.. _Bro: https://bro.org
1+
.. _Zeek: https://www.zeek.org
22

3-
================
4-
Bro BIF Compiler
5-
================
3+
=================
4+
Zeek BIF Compiler
5+
=================
66

77
The ``bifcl`` program simply takes a ``.bif`` file as input and
88
generates C++ header/source files along with a ``.zeek`` script
9-
that all-together provide the declaration and implementation of Bro_
9+
that all-together provide the declaration and implementation of Zeek_
1010
Built-In-Functions (BIFs), which can then be compiled and shipped
11-
as part of a Bro plugin.
11+
as part of a Zeek plugin.
1212

1313
A BIF allows one to write arbitrary C++ code and access it via a
14-
function call inside a Bro script. In this way, they can also be
15-
used to access parts of Bro's internal C++ API that aren't already
14+
function call inside a Zeek script. In this way, they can also be
15+
used to access parts of Zeek's internal C++ API that aren't already
1616
exposed via their own BIFs.
1717

1818
At the moment, learning the format of a ``.bif`` file is likely easiest
19-
by just taking a look at the ``.bif`` files inside the Bro source-tree.
19+
by just taking a look at the ``.bif`` files inside the Zeek source-tree.

builtin-func.l

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ HEX [0-9a-fA-F]+
105105

106106
/*
107107
Hacky way to pass along arbitrary attribute expressions since the BIF parser
108-
has little understanding of valid Bro expressions. With this pattern, the
108+
has little understanding of valid Zeek expressions. With this pattern, the
109109
attribute expression should stop when it reaches another attribute, another
110110
function argument, or the end of the function declaration.
111111
*/

builtin-func.y

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ module_def: TOK_MODULE opt_ws TOK_ID opt_ws ';'
337337
// the type. One still has to define the type in bro.init.
338338
// Would be nice, if we could just define the record type here
339339
// and then copy to the .bif.zeek file, but type declarations in
340-
// Bro can be quite powerful. Don't know whether it's worth it
340+
// Zeek can be quite powerful. Don't know whether it's worth it
341341
// extend the bif-language to be able to handle that all....
342342
// Or we just support a simple form of record type definitions
343343
// TODO: add other types (tables, sets)
@@ -596,7 +596,7 @@ args_1: args_1 ',' opt_ws arg opt_ws opt_attr_list
596596
;
597597

598598
// TODO: Migrate all other compound types to this rule. Once the BiF language
599-
// can parse all regular Bro types, we can throw out the unnecessary
599+
// can parse all regular Zeek types, we can throw out the unnecessary
600600
// boilerplate typedefs for addr_set, string_set, etc.
601601
type:
602602
TOK_OPAQUE opt_ws TOK_OF opt_ws TOK_ID

module_util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// These functions are used by both Bro and bifcl.
2+
// These functions are used by both Zeek and bifcl.
33
//
44

55
#include <string>

0 commit comments

Comments
 (0)