Commit d41459a898af22a37190c4968a39cd3893aa744e

Merge branch 'master' of http://git.gitorious.org/squeak-by-example/lsdr-clone

Commit diff

PortugueseBook/FAQ/FAQ.tex

 
1515%% "pane" => painel
1616%% "AST" => mantido como AST (vale a pena mudar a sigla ou colocar por extenso?
1717%% "programmatically" => programaticamente
18%% "parsing" => mantido como parsing
19%% "load" => carregue (apesar de achar "carregue" um termo incomum
20%% "gathers" =>
1821%%
1922%% Nomes de ferramentas como Transcript, "Object Inspector", Debugger e "System Browser", foram mantidos
2023%==================================================================
174174Como eu gero uma visualização da \ind{AST} de uma expressão?
175175\end{faq}
176176\answer
177Load AST from squeaksource.com. Then evaluate:
177%Load AST from squeaksource.com. Then evaluate:
178Abaixe e carregue o AST do squeaksource.com. Em seguida rode:
179%TODO: rode é feio pacas, mas avaliar é estranho -- lsdr
178180\begin{code}{}
179181(RBParser parseExpression: '3+4') explore
180182\end{code}
224224% \item Select \menu{+Repository \go HTTP}
225225 \item Selecione \menu{+Repository \go HTTP}
226226% \item Paste and accept the Registration code snippet; enter your password
227 \item Cole o código de registro e aceite; entre com sua senha
227 \item Cole o código de registro e entre com sua senha; clique em "Accept"
228228% \item Select the new repository and \menu{Open} it
229229 \item Selecione o novo repositório e, em seguida, \menu{Open}
230230% \item Select and load the latest version
232232\end{enumerate}
233233
234234\begin{faq}
235How do I create a SqueakSource project?
235%How do I create a SqueakSource project?
236Como eu crio um projeto no SqueakSource?
236237\end{faq}
237238\answer
238239\begin{enumerate}
239 \item Go to \url{squeaksource.com}
240 \item Register yourself as a new member
241 \item Register a project (name = category)
242 \item Copy the Registration code snippet
243 \item \menu{open \go Monticello browser}
244 \item \menu{+Package} to add the category
245 \item Select the package
240 %\item Go to \url{squeaksource.com}
241 \item Entre em \url{squeaksource.com}
242 %\item Register yourself as a new member
243 \item Cadastre-se como membro do SqueakSource
244 %\item Register a project (name = category)
245 \item Registre um novo projeto
246 %\item Copy the Registration code snippet
247 \item Copie o código de registro do projeto
248 %\item \menu{open \go Monticello browser}
249 \item \menu{open \go Monticello Browser}
250 %\item \menu{+Package} to add the category
251 \item \menu{+Package} para adicionar o pacote (nome do projeto)
252 %\item Select the package
253 \item Selecione o pacote
254 %\item \menu{+Repository \go HTTP}
246255 \item \menu{+Repository \go HTTP}
247 \item Paste and accept the Registration code snippet; enter your password
248 \item \menu{Save} to save the first version
256 %\item Paste and accept the Registration code snippet; enter your password
257 \item Cole o código de registro e entre com sua senha; clique em "Accept"
258 %\item \menu{Save} to save the first version
259 \item \menu{Save} para salvar a primeira versão
249260\end{enumerate}
250261
251262\begin{faq}
252How do I extend \ct{Number} with \ct{Number>>>chf} but have Monticello recognize it as being part of my \ct{Money} project?
263%How do I extend \ct{Number} with \ct{Number>>>chf} but have Monticello recognize it as being part of my \ct{Money} project?
264Como eu extendo \ct{Number} com \ct{Number>>>chf} mas faço com que o Monticello
265reconheça isso como parte do meu projeto \ct{Money}?
253266\end{faq}
254267\answer
255Put it in a method-category named \ct{*Money}.
256Monticello gathers all methods that are in other categories named like *package and includes them in your package.
268%Put it in a method-category named \ct{*Money}.
269Coloque em um método-categoria com o nome de \ct{*Money}.
270%Monticello gathers all methods that are in other categories named like *package and includes them in your package.
271O Monticello agrupa todos os métodos que estão em outras categorias com o nome de *pacote e inclue no seu pacote.
257272
258273%=================================================================
259274%\section{Tools}
301301seguida, em \menu{Register this Browser as default}.
302302
303303%=================================================================
304\section{Regular expressions and parsing}
304%\section{Regular expressions and parsing}
305\section{Expressões regulares e parsing}
305306
306307\begin{faq}
307How can I work with regular expressions?
308%How can I work with regular expressions?
309Como faço para trabalhar com expressões regulares?
308310\index{regular expression package}
309311\end{faq}
310312\answer
311313\ifluluelse
312 {Load Vassili Bykov's RegEx package from: \\
314 %{Load Vassili Bykov's RegEx package from: \\
315 %\url{www.squeaksource.com/Regex.html}}
316 %{Load Vassili Bykov's RegEx package from:
317 %\url{www.squeaksource.com/Regex.html}}
318 {Carregue o pacote de RegEx do Vassili Bykov de: \\
313319 \url{www.squeaksource.com/Regex.html}}
314 {Load Vassili Bykov's RegEx package from:
320 {Carregue o pacote de RegEx do Vassili Bykov de:
315321 \url{www.squeaksource.com/Regex.html}}
316322\index{Bykov, Vassili}
317323
318324\begin{faq}
319Where is the documentation for the RegEx package?
325%Where is the documentation for the RegEx package?
326Onde está a documentação do pacote RegEx?
320327\end{faq}
321328\answer
322Look at the \menu{DOCUMENTATION} protocol of \ct{RxParser class} in the \menu{VB-Regex} category.
329%Look at the \menu{DOCUMENTATION} protocol of \ct{RxParser class} in the \menu{VB-Regex} category.
330Procure em \menu{DOCUMENTATION} da \ct{classe RxParser} na categoria \menu{VB-Regex}.
323331
324332\begin{faq}
325Are there tools for writing parsers?
333%Are there tools for writing parsers?
334Existem ferramentas para escrever parsers?
326335\end{faq}
327336\answer
328Use \ind{SmaCC}\,---\,the Smalltalk Compiler Compiler.
329You should install at least SmaCC-lr.13.
330Load it from \url{www.squeaksource.com/SmaccDevelopment.html}.
331There is a nice tutorial online:
337%Use \ind{SmaCC}\,---\,the Smalltalk Compiler Compiler.
338Use o \ind{SmaCC}\,---\,the Smalltalk Compiler Compiler.
339%You should install at least SmaCC-lr.13.
340Você deve instalar no mínimo o SmaCC-lr.13.
341%Load it from \url{www.squeaksource.com/SmaccDevelopment.html}.
342Carregue-o de \url{www.squeaksource.com/SmaccDevelopment.html}.
343%There is a nice tutorial online:
344Existe um bom tutorial online:
332345\url{www.refactory.com/Software/SmaCC/Tutorial.html}
333346
334347\begin{faq}
335Which packages should I load from SqueakSource SmaccDevelopment to write parsers?
348%Which packages should I load from SqueakSource SmaccDevelopment to write parsers?
349Quais pacotes eu devo carregar do SqueakSource SmaccDevelopment para escrever parsers?
336350\end{faq}
337351\answer
338Load the latest version of \ind{SmaCCDev}{}\,---\,the runtime is already there.
339(SmaCC-Development is for \sq 3.8)
352%Load the latest version of \ind{SmaCCDev}{}\,---\,the runtime is already there.
353Carregue a última versão do \ind{SmaCCDev}{}\,---\, o runtime já está contido
354no pacote.
355%(SmaCC-Development is for \sq 3.8)
356(SmaCC-Development é para o \sq 3.8)
357%TODO: verificar essa informação.
340358
341359%=================================================================
342360\ifx\wholebook\relax\else\end{document}\fi
toggle raw diff