@@ -307,6 +307,8 @@ msgid ""
307307"``e1 e2``: Items separated only by whitespace denote a sequence. Here, "
308308"``e1`` must be followed by ``e2``."
309309msgstr ""
310+ "``e1 e2``: Elementos separados solo por un espacio en blanco denota una secuencia. Aquí, "
311+ "``e1`` debe ser seguido por ``e2``."
310312
311313#: ../Doc/reference/introduction.rst:135
312314msgid ""
@@ -315,43 +317,55 @@ msgid ""
315317"traditional PEG grammars, this is written as a slash, ``/``, rather than a "
316318"vertical bar. See :pep:`617` for more background and details."
317319msgstr ""
320+ "``e1 | e2``: Se usa una barra vertical para separar alternativas. Esto denota "
321+ "\" elección ordenada\" de las PEG: si ``e1`` coincide, ``e2`` no se tiene en cuenta. En "
322+ "las gramáticas PEG tradicionales, esto se representa mediante una barra diagonal, ``/``, en vez "
323+ "de una barra vertical. Consulta :pep:`617` para más información y detalles."
318324
319325#: ../Doc/reference/introduction.rst:141
320326msgid "``e*``: A star means zero or more repetitions of the preceding item."
321- msgstr ""
327+ msgstr "``e*``: Un asterisco indica cero o más repeticiones del elemento precedente. "
322328
323329#: ../Doc/reference/introduction.rst:142
324330msgid "``e+``: Likewise, a plus means one or more repetitions."
325- msgstr ""
331+ msgstr "``e+``: Del mismo modo, un símbolo más indica una o más repeticiones. "
326332
327333#: ../Doc/reference/introduction.rst:143
328334msgid ""
329335"``[e]``: A phrase enclosed in square brackets means zero or one occurrences. "
330336"In other words, the enclosed phrase is optional."
331337msgstr ""
338+ "``[e]``: Una expresión cerrada entre corchetes significa cero o una aparición. "
339+ "En otras palabras, la expresión cerrada es opcional."
332340
333341#: ../Doc/reference/introduction.rst:145
334342msgid ""
335343"``e?``: A question mark has exactly the same meaning as square brackets: the "
336344"preceding item is optional."
337345msgstr ""
346+ "``e?``: Un signo de interrogación tiene el mismo significado que los corchetes: "
347+ "el elemento precedente es opcional."
338348
339349#: ../Doc/reference/introduction.rst:147
340350msgid "``(e)``: Parentheses are used for grouping."
341- msgstr ""
351+ msgstr "``(e)``: Los paréntesis se usan para agrupar. "
342352
343353#: ../Doc/reference/introduction.rst:149
344354msgid ""
345355"The following notation is only used in :ref:`lexical definitions <notation-"
346356"lexical-vs-syntactic>`."
347357msgstr ""
358+ "La siguiente notación es usada solo en :ref:`definiciones léxicas <notation-"
359+ "lexical-vs-syntactic>`."
348360
349361#: ../Doc/reference/introduction.rst:152
350362msgid ""
351363"``\" a\" ...\" z\" ``: Two literal characters separated by three dots mean a "
352364"choice of any single character in the given (inclusive) range of ASCII "
353365"characters."
354366msgstr ""
367+ "``\" a\" ...\" z\" ``: Dos caracteres literales separados por tres puntos indican "
368+ "la elección de cualquier carácter individual dentro del rango de caracteres ASCII."
355369
356370#: ../Doc/reference/introduction.rst:154
357371msgid ""
@@ -360,53 +374,67 @@ msgid ""
360374"\" >``), or an abbreviation that is defined in nearby text (for example, "
361375"``<Lu>``)."
362376msgstr ""
377+ "``<...>``: Una frase entre corchetes angulares proporciona una descripción informal "
378+ "del símbolo correspondiente (por ejemplo, ``<cualquier carácter ASCII excepto \"\\ "
379+ "\" >``), o una abreviatura que se define en el siguiente texto (por ejemplo, "
380+ "``<Lu>``)."
363381
364382#: ../Doc/reference/introduction.rst:160
365383msgid ""
366384"Some definitions also use *lookaheads*, which indicate that an element must "
367385"(or must not) match at a given position, but without consuming any input:"
368386msgstr ""
387+ "Algunas definiciones también usan *anticipadores*, que indican que un elemento debe "
388+ "(o no debe) coincidir en una posición determinada, pero sin consumir ninguna entrada:"
369389
370390#: ../Doc/reference/introduction.rst:163
371391msgid "``&e``: a positive lookahead (that is, ``e`` is required to match)"
372- msgstr ""
392+ msgstr "``&e``: uan anticipación positiva (es decir, se requiere que ``e`` coincida) "
373393
374394#: ../Doc/reference/introduction.rst:164
375395msgid ""
376396"``!e``: a negative lookahead (that is, ``e`` is required *not* to match)"
377397msgstr ""
398+ "``!e``: una anticipación negativa (es decir, *no* se requiere que ``e`` coincida)"
378399
379400#: ../Doc/reference/introduction.rst:166
380401msgid ""
381402"The unary operators (``*``, ``+``, ``?``) bind as tightly as possible; the "
382403"vertical bar (``|``) binds most loosely."
383404msgstr ""
405+ "Los operadores unarios (``*``, ``+``, ``?``) tienen la mayor precedencia posible; la "
406+ "barra vertical (``|``) tiene la menor precedencia."
384407
385408#: ../Doc/reference/introduction.rst:169
386409msgid "White space is only meaningful to separate tokens."
387- msgstr ""
410+ msgstr "Los espacios en blanco solo tienen sentido para separar tokens. "
388411
389412#: ../Doc/reference/introduction.rst:171
390413msgid ""
391414"Rules are normally contained on a single line, but rules that are too long "
392415"may be wrapped:"
393416msgstr ""
417+ "Las reglas suelen ocupar una sola línea, pero aquellas que son demasiado largas "
418+ "pueden ajustarse a varias líneas:"
394419
395420#: ../Doc/reference/introduction.rst:180
396421msgid ""
397422"Alternatively, rules may be formatted with the first line ending at the "
398423"colon, and each alternative beginning with a vertical bar on a new line. For "
399424"example:"
400425msgstr ""
426+ "Alternativamente, las reglas pueden presentarse con la primera línea terminando en "
427+ "dos puntos, y que cada alternativa comience con una barra vertical en una línea "
428+ "nueva. Por ejemplo:"
401429
402430#: ../Doc/reference/introduction.rst:195
403431msgid "This does *not* mean that there is an empty first alternative."
404- msgstr ""
432+ msgstr "Esto *no* significa que exista una primera alternativa vacía. "
405433
406434#: ../Doc/reference/introduction.rst:202
407435#, fuzzy
408436msgid "Lexical and Syntactic definitions"
409- msgstr "lexical definitions "
437+ msgstr "Definiciones Léxicas y sintácticas "
410438
411439#: ../Doc/reference/introduction.rst:204
412440msgid ""
@@ -417,6 +445,11 @@ msgid ""
417445"cases the exact boundary between the two phases is a CPython implementation "
418446"detail."
419447msgstr ""
448+ "Exite diferencias entre el análisis *léxico* y *sintáctico*: el *:"
449+ "term:`análisis léxico <lexical analyzer>`* opera en los caracteres individuales de la fuente "
450+ "de entrada, mientras que *parser* (análisis sintáctico) opera en el flujo de :"
451+ "term:`tokens <token>` generado por el análisis léxico. NO obstante, en algunos "
452+ "casos el límite exacto entre ambas fases es un detalle de la implementación de CPython."
420453
421454#: ../Doc/reference/introduction.rst:211
422455msgid ""
0 commit comments