v1_myTomGomCompiler.tex 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. \documentclass[10pt% , handout
  2. ]{beamer}
  3. \usepackage{amsmath}
  4. \usepackage{graphicx}
  5. \usepackage{wasysym}
  6. \usepackage{tikz}
  7. \usepackage{array}
  8. \usepackage{pgflibraryshapes}
  9. \usepackage[utf8]{inputenc}
  10. \usepackage[english]{babel}
  11. \usepackage{listings}
  12. \usepackage[normalem]{ulem}
  13. \usepackage{babel}
  14. \usepackage{multirow}
  15. \usepackage{fixme}
  16. \usepackage{xspace}
  17. %\usepackage[version=0.96]{pgf}
  18. \usepackage[absolute,overlay]{textpos}
  19. \usetikzlibrary{shapes.multipart}
  20. \usetikzlibrary{decorations.pathreplacing}
  21. \usetikzlibrary{arrows,automata}
  22. \usetikzlibrary{positioning}
  23. \usetikzlibrary{patterns}
  24. \usetikzlibrary{arrows,shapes,matrix,snakes,automata,backgrounds,petri,fit}
  25. \definecolor{myred}{HTML}{d01e1e}
  26. \definecolor{mygreen}{HTML}{129d1c}
  27. \definecolor{colorsimterpose}{HTML}{bd0505}
  28. \definecolor{mydarkred}{HTML}{a41313}
  29. \definecolor{mylightgray}{HTML}{F4F1F1}
  30. \makeatletter
  31. \newcommand{\code}[1]{{\footnotesize {\sffamily #1}}\xspace}
  32. \newcommand{\figcode}[1]{{\scriptsize {\sffamily #1}}\xspace}
  33. \newcommand{\minicode}[1]{{\tiny {\sffamily #1}}\xspace}
  34. \newcommand{\emf}{\textsf{EMF}\xspace}
  35. \newcommand{\gom}{\textsf{Gom}\xspace}
  36. \newcommand{\tom}{\textsf{Tom}\xspace}
  37. %%%%%%%%%%%%%%%%%%%%%%%%%%%
  38. \begin{document}
  39. \begin{frame}
  40. \begin{center}
  41. \begin{figure}
  42. \resizebox{10cm}{!}{
  43. \begin{tikzpicture}[>=stealth, node distance=3cm, on grid, auto]
  44. \node[text width=1cm, align=center] (Tom_Java) {Tom \\+ \\Java};
  45. \node [right=.5, right of=Tom_Java, draw, diamond, aspect=2] (Compilo_Tom) {Compilateur Tom};
  46. \path[->] (Tom_Java) edge (Compilo_Tom);
  47. \node[right=.5, right of=Compilo_Tom, text width=1cm,
  48. align=center] (Code_Java) {Code \\Java};
  49. \path[->] (Compilo_Tom) edge (Code_Java);
  50. \node [right=.5, right of=Code_Java, draw, diamond, aspect=2]
  51. (Compilo_Java) {Compilateur Java};
  52. \path[->] (Code_Java) edge (Compilo_Java);
  53. \node [right=.5, right of=Compilo_Java, text width=1cm,
  54. align=center] (binaire) {110010\\101110\\010100};
  55. \path[->] (Compilo_Java) edge (binaire);
  56. \node [below of=Compilo_Tom, text width=2cm,
  57. align=center] (ancrages) {Ancrages \\ algébriques};
  58. \path[->] (ancrages) edge (Compilo_Tom);
  59. \node [below of=ancrages, draw, diamond, aspect=2] (Compilo_Gom) {Compilateur Gom};
  60. \path[->] (Compilo_Gom) edge (ancrages);
  61. \node [left=1, left of=Compilo_Gom, text width=2cm,
  62. align=center] (Sign_Gom) {Signature \\ Gom};
  63. \path[->] (Sign_Gom) edge (Compilo_Gom);
  64. \node [right=1, right of=Compilo_Gom, text width=2cm,
  65. align=center] (Struct_Java) {Structure de \\ données Java};
  66. \path[->] (Compilo_Gom) edge (Struct_Java);
  67. \node [right of=Struct_Java] (inv) {};
  68. \draw[->] (Struct_Java) -- ++(3,0) -- (Compilo_Java);
  69. %\node [draw, diamond, aspect=2] {Compilateur Gom};
  70. %\node [draw, diamond, aspect=2] {Compilateur Tom};
  71. \end{tikzpicture}
  72. }
  73. \vskip1ex
  74. \caption{Processus de compilation d'un programme Tom}
  75. \end{figure}
  76. \end{center}
  77. \end{frame}
  78. \end{document}