Skip to content

Commit 57a5c00

Browse files
committed
added support to csv translation on a per-entry basis
1 parent db6373f commit 57a5c00

13 files changed

Lines changed: 364 additions & 710 deletions

File tree

book/C-glossary.rst

Lines changed: 126 additions & 126 deletions
Large diffs are not rendered by default.

book/glossary/01.txt

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +0,0 @@
1-
solução de problemas (*problem solving*)
2-
The process of formulating a problem, finding a solution, and expressing it.
3-
4-
linguagem de alto nível (*high-level language*)
5-
A programming language like Python that is designed to be easy for humans to read and write.
6-
7-
linguagem de baixo nível (*low-level language*)
8-
A programming language that is designed to be easy for a computer to run; also called “machine language” or “assembly language”.
9-
10-
portabilidade (*portability*)
11-
A property of a program that can run on more than one kind of computer.
12-
13-
interpretador (*interpreter*)
14-
A program that reads another program and executes it
15-
16-
*prompt* (“sinal de pronto”)
17-
Characters displayed by the interpreter to indicate that it is ready to take input from the user.
18-
19-
programação funcional (*program*)
20-
A set of instructions that specifies a computation.
21-
22-
``print``, instrução (``print`` *statement*)
23-
An instruction that causes the Python interpreter to display a value on the screen.
24-
25-
operador (*operator*)
26-
A special symbol that represents a simple computation like addition, multiplication, or string concatenation.
27-
28-
valor (*value*)
29-
One of the basic units of data, like a number or string, that a program manipulates.
30-
31-
tipo (*type*)
32-
A category of values. The types we have seen so far are integers (type int), floating-point numbers (type float), and strings (type str).
33-
34-
inteiro (*integer*)
35-
A type that represents whole numbers.
36-
37-
ponto-flutuante (*floating-point*)
38-
A type that represents numbers with fractional parts.
39-
40-
*string* (“cadeia de caracteres”)
41-
A type that represents sequences of characters.
42-
43-
linguagem natural (*natural language*)
44-
Any one of the languages that people speak that evolved naturally.
45-
46-
linguagem formal (*formal language*)
47-
Any one of the languages that people have designed for specific purposes, such as representing mathematical ideas or computer programs; all programming languages are formal languages.
48-
49-
*token* (“símbolo”)
50-
One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.
51-
52-
sintaxe (*syntax*)
53-
The rules that govern the structure of a program.
54-
55-
analisar (*parse*)
56-
To examine a program and analyze the syntactic structure.
57-
58-
*bug*
59-
An error in a program.
60-
61-
depuração (*debugging*)
62-
The process of finding and correcting bugs.
63-

book/glossary/02.txt

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +0,0 @@
1-
variável (*variable*)
2-
A name that refers to a value.
3-
4-
atribuição (*assignment*)
5-
A statement that assigns a value to a variable.
6-
7-
diagrama de estado (*state diagram*)
8-
A graphical representation of a set of variables and the values they refer to.
9-
10-
palavra-chave (*keyword*)
11-
A reserved word that is used to parse a program; you cannot use keywords like if, def, and while as variable names.
12-
13-
operando (*operand*)
14-
One of the values on which an operator operates.
15-
16-
expressão (*expression*)
17-
A combination of variables, operators, and values that represents a single result.
18-
19-
avaliar (*evaluate*)
20-
To simplify an expression by performing the operations in order to yield a single value.
21-
22-
instrução (*statement*)
23-
A section of code that represents a command or action. So far, the statements we have seen are assignments and print statements.
24-
25-
executar (*execute*)
26-
To run a statement and do what it says.
27-
28-
modo interativo (*interactive mode*)
29-
A way of using the Python interpreter by typing code at the prompt.
30-
31-
modo de script (*script mode*)
32-
A way of using the Python interpreter to read code from a script and run it.
33-
34-
*script*
35-
A program stored in a file.
36-
37-
ordem das operações (*order of operations*)
38-
Rules governing the order in which expressions involving multiple operators and operands are evaluated.
39-
40-
concatenar (*concatenate*)
41-
To join two operands end-to-end.
42-
43-
comentário (*comment*)
44-
Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
45-
46-
erro sintático (*syntax error*)
47-
An error in a program that makes it impossible to parse (and therefore impossible to interpret).
48-
49-
exceção (*exception*)
50-
An error that is detected while the program is running.
51-
52-
semântica (*semantics*)
53-
The meaning of a program.
54-
55-
erro semântico (*semantic error*)
56-
An error in a program that makes it do something other than what the programmer intended.
57-

book/glossary/03.txt

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +0,0 @@
1-
função (*function*)
2-
A named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result.
3-
4-
definição de função (*function definition*)
5-
A statement that creates a new function, specifying its name, parameters, and the statements it contains.
6-
7-
objeto-função (*function object*)
8-
A value created by a function definition. The name of the function is a variable that refers to a function object.
9-
10-
cabeçalho (*header*)
11-
The first line of a function definition.
12-
13-
corpo (*body*)
14-
The sequence of statements inside a function definition.
15-
16-
parâmetro (*parameter*)
17-
A name used inside a function to refer to the value passed as an argument.
18-
19-
chamada de função (*function call*)
20-
A statement that runs a function. It consists of the function name followed by an argument list in parentheses.
21-
22-
argumento (*argument*)
23-
A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
24-
25-
variável local (*local variable*)
26-
A variable defined inside a function. A local variable can only be used inside its function.
27-
28-
valor devolvido (*return value*)
29-
The result of a function. If a function call is used as an expression, the return value is the value of the expression.
30-
31-
função produtiva (*fruitful function*)
32-
A function that returns a value.
33-
34-
procedimento (*void function*)
35-
A function that always returns None.
36-
37-
``None``
38-
A special value returned by void functions.
39-
40-
módulo (*module*)
41-
A file that contains a collection of related functions and other definitions.
42-
43-
``import``, instrução (``import`` *statement*)
44-
A statement that reads a module file and creates a module object.
45-
46-
objeto-módulo (*module object*)
47-
A value created by an import statement that provides access to the values defined in a module.
48-
49-
notação de ponto (*dot notation*)
50-
The syntax for calling a function in another module by specifying the module name followed by a dot (period) and the function name.
51-
52-
composição (*composition*)
53-
Using an expression as part of a larger expression, or a statement as part of a larger statement.
54-
55-
fluxo de execução (*flow of execution*)
56-
The order statements run in.
57-
58-
diagrama de pilha (*stack diagram*)
59-
A graphical representation of a stack of functions, their variables, and the values they refer to.
60-
61-
*frame* ()
62-
A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
63-
64-
*traceback* ()
65-
A list of the functions that are executing, printed when an exception occurs.
66-

book/glossary/04.txt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +0,0 @@
1-
método (*method*)
2-
A function that is associated with an object and called using dot notation.
3-
4-
laço (*loop*)
5-
A part of a program that can run repeatedly.
6-
7-
encapsulamento (*encapsulation*)
8-
The process of transforming a sequence of statements into a function definition.
9-
10-
generalização (*generalization*)
11-
The process of replacing something unnecessarily specific (like a number) with something appropriately general (like a variable or parameter).
12-
13-
argumento nomeado (*keyword argument*)
14-
An argument that includes the name of the parameter as a “keyword”.
15-
16-
assinatura (*interface*)
17-
A description of how to use a function, including the name and descriptions of the arguments and return value.
18-
19-
refatoração (*refactoring*)
20-
The process of modifying a working program to improve function interfaces and other qualities of the code.
21-
22-
plano de desenvolvimento (*development plan*)
23-
A process for writing programs.
24-
25-
*docstring*
26-
A string that appears at the top of a function definition to document the function’s interface.
27-
28-
pré-condição (*precondition*)
29-
A requirement that should be satisfied by the caller before a function starts.
30-
31-
pós-condição (*postcondition*)
32-
A requirement that should be satisfied by the function before it ends.
33-

book/glossary/05.txt

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +0,0 @@
1-
divisão pelo piso (*floor division*)
2-
An operator, denoted //, that divides two numbers and rounds down (toward zero) to an integer.
3-
4-
operador de módulo (*modulus operator*)
5-
An operator, denoted with a percent sign (%), that works on integers and returns the remainder when one number is divided by another.
6-
7-
expressão booleana (*boolean expression*)
8-
An expression whose value is either True or False.
9-
10-
operador relacional (*relational operator*)
11-
One of the operators that compares its operands: ==, !=, >, <, >=, and <=.
12-
13-
operador lógico (*logical operator*)
14-
One of the operators that combines boolean expressions: and, or, and not.
15-
16-
instrução condicional (*conditional statement*)
17-
A statement that controls the flow of execution depending on some condition.
18-
19-
condição (*condition*)
20-
The boolean expression in a conditional statement that determines which branch runs.
21-
22-
instrução composta (*compound statement*)
23-
A statement that consists of a header and a body. The header ends with a colon (:). The body is indented relative to the header.
24-
25-
desvio (*branch*)
26-
One of the alternative sequences of statements in a conditional statement.
27-
28-
condicional encadeado (*chained conditional*)
29-
A conditional statement with a series of alternative branches.
30-
31-
condicional aninhado (*nested conditional*)
32-
A conditional statement that appears in one of the branches of another conditional statement.
33-
34-
``return``, instrução (``return`` *statement*)
35-
A statement that causes a function to end immediately and return to the caller.
36-
37-
recursão (*recursion*)
38-
The process of calling the function that is currently executing.
39-
40-
caso base (*base case*)
41-
A conditional branch in a recursive function that does not make a recursive call.
42-
43-
recursão infinita (*infinite recursion*)
44-
A recursion that doesn’t have a base case, or never reaches it. Eventually, an infinite recursion causes a runtime error.
45-

book/glossary/06.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
variável temporária (*temporary variable*)
2-
A variable used to store an intermediate value in a complex calculation.
3-
4-
código morto (*dead code*)
5-
Part of a program that can never run, often because it appears after a return statement.
6-
7-
desenvolvimento incremental (*incremental development*)
8-
A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
9-
10-
código provisório (*scaffolding*)
11-
Code that is used during program development but is not part of the final version.
12-
13-
guarda (*guardian*)
14-
A programming pattern that uses a conditional statement to check for and handle circumstances that might cause an error.
15-

book/glossary/07.txt

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
reatribuição (*reassignment*)
2-
Assigning a new value to a variable that already exists.
3-
4-
atualização (*update*)
5-
An assignment where the new value of the variable depends on the old.
6-
7-
inicialização (*initialization*)
8-
An assignment that gives an initial value to a variable that will be updated.
9-
10-
incrementar (*increment*)
11-
An update that increases the value of a variable (often by one).
12-
13-
decrementar (*decrement*)
14-
An update that decreases the value of a variable.
15-
16-
iteração (*iteration*)
17-
Repeated execution of a set of statements using either a recursive function call or a loop.
18-
19-
laço infinito (*infinite loop*)
20-
A loop in which the terminating condition is never satisfied.
21-
22-
algoritmo (*algorithm*)
23-
A general process for solving a category of problems.
24-

book/glossary/08.txt

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +0,0 @@
1-
objeto (*object*)
2-
Something a variable can refer to. For now, you can use “object” and “value” interchangeably.
3-
4-
sequência de formatação (*sequence*)
5-
An ordered collection of values where each value is identified by an integer index.
6-
7-
*item* (item)
8-
One of the values in a sequence.
9-
10-
índice (*index*)
11-
An integer value used to select an item in a sequence, such as a character in a string. In Python indices start from 0.
12-
13-
código provisório (*slice*)
14-
A part of a string specified by a range of indices.
15-
16-
string vazia (*empty string*)
17-
A string with no characters and length 0, represented by two quotation marks.
18-
19-
imutável (*immutable*)
20-
The property of a sequence whose items cannot be changed.
21-
22-
percorrer (*traverse*)
23-
To iterate through the items in a sequence, performing a similar operation on each.
24-
25-
busca (*search*)
26-
A pattern of traversal that stops when it finds what it is looking for.
27-
28-
contador (*counter*)
29-
A variable used to count something, usually initialized to zero and then incremented.
30-
31-
invocação (*invocation*)
32-
A statement that calls a method.
33-
34-
argumento opcional (*optional argument*)
35-
A function or method argument that is not required.
36-

book/glossary/09.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
objeto-arquivo (*file object*)
2-
A value that represents an open file.
3-
4-
redução a um problema resolvido (*reduction to a previously solved problem*)
5-
A way of solving a problem by expressing it as an instance of a previously solved problem.
6-
7-
caso especial (*special case*)
8-
A test case that is atypical or non-obvious (and less likely to be handled correctly).
9-

0 commit comments

Comments
 (0)