Skip to content

Commit 812b79c

Browse files
Correct spelling "Built-in" and BIF
1 parent bbae394 commit 812b79c

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Now you can use:
130130

131131
Actually you can always use "trans" because if there is no translation it returns the text. See: [locale](https://franbarinstance.github.io/neutralts-docs/docs/neutralts/doc/#locale--) and [trans](https://franbarinstance.github.io/neutralts-docs/docs/neutralts/doc/#trans--).
132132

133-
Bif layout (Build-in function)
133+
BIF Structure (Built-in function)
134134
------------------------------
135135

136136
```neutral
@@ -151,19 +151,19 @@ Bif layout (Build-in function)
151151
| ^
152152
| |
153153
| `-- source
154-
`-- Build-in function
154+
`-- Built-in function
155155
156156
```
157157

158-
Bif example: (See: [syntax](https://franbarinstance.github.io/neutralts-docs/docs/neutralts/doc/#syntax))
158+
BIF example: (See: [syntax](https://franbarinstance.github.io/neutralts-docs/docs/neutralts/doc/#syntax))
159159

160160
```neutral
161161
{:filled; varname >>
162162
Hello!
163163
:}
164164
```
165165

166-
Neutral TS template engine is based on Bifs with block structure, we call the set of nested Bifs of the same level a block:
166+
Neutral TS template engine is based on BIFs with block structure, we call the set of nested BIFs of the same level a block:
167167

168168
```neutral
169169
@@ -203,7 +203,7 @@ Short circuit at block level, if varname is not defined, the following ">>" is n
203203
:}
204204
```
205205

206-
By design all Bifs can be nested and there can be a Bif anywhere in another Bif except in the name.
206+
By design all BIFs can be nested and there can be a BIF anywhere in another BIF except in the name.
207207

208208
Data
209209
----

doc/bif-coalesce.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Can be nested (no limit):
6161
Blocks
6262
------
6363

64-
Each *block* can be a single Bif, or a nested set of them:
64+
Each *block* can be a single BIF, or a nested set of them:
6565

6666
```html
6767
{:coalesce;
@@ -106,7 +106,7 @@ If the variable with spaces was nested, then the result would be an empty block,
106106
:}
107107
```
108108

109-
Unprintable Bif {:;:} is not a zero length string, the following will show nothing:
109+
Unprintable BIF {:;:} is not a zero length string, the following will show nothing:
110110

111111
```html
112112
{:coalesce;

doc/bif-unprintable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Output:
106106
<div>Hello</div>
107107
```
108108

109-
But in special cases we may need to make it so that spaces or carriage returns are not removed. And this is the main use of unprintable Bif:
109+
But in special cases we may need to make it so that spaces or carriage returns are not removed. And this is the main use of unprintable BIF:
110110

111111
```text
112112
<pre>

doc/syntax.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Syntax
22
======
33

4-
The main element of Neutral TS is the BIF (Build-in function), would be the equivalent of functions and would display an output, the output is always a string or nothing (empty string).
4+
The main element of Neutral TS is the BIF (Built-in function), would be the equivalent of functions and would display an output, the output is always a string or nothing (empty string).
55

6-
### Bif layout
6+
### BIF Structure
77

88
```text
99
@@ -32,11 +32,11 @@ The main element of Neutral TS is the BIF (Build-in function), would be the equi
3232
------------------------------------------
3333
^
3434
|
35-
·-- Bif (Build-in function)
35+
·-- BIF (Built-in function)
3636
3737
```
3838

39-
Bif example:
39+
BIF example:
4040

4141
```text
4242
{:filled; varname >>
@@ -50,7 +50,7 @@ Sometimes they only carry parameters or code:
5050
{:snippet; snipname :}
5151
```
5252

53-
Any number of spaces can be used to separate each part of a bif except the name, the following is an error:
53+
Any number of spaces can be used to separate each part of a BIF except the name, the following is an error:
5454

5555
```diff
5656
-{: filled ; varname >>
@@ -158,7 +158,7 @@ They can be nested, but different delimiters must be used:
158158
Nesting
159159
-------
160160

161-
By design all Bifs can be nested and there can be a Bif anywhere in another Bif except in the name.
161+
By design all BIFs can be nested and there can be a BIF anywhere in another BIF except in the name.
162162

163163
```text
164164
{:eval; {:code; {:code; ... :} :} >>

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![doc = include_str!("../README.md")]
22

33

4-
// Build-in function layout
4+
// Built-in function layout
55
//
66
// .-------------------------------------------------------------> open bif
77
// | .-----------------------------------------------------------> modifier
@@ -21,7 +21,7 @@
2121
// | ^
2222
// | |
2323
// | ·------------------------------> bif src
24-
// ·-----------------------------------------------------> bif: Build-in function
24+
// ·-----------------------------------------------------> bif: Built-in function
2525

2626
// Same level Bif:
2727
//

0 commit comments

Comments
 (0)