index.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" type="text/css" href="js/semantic/semantic.min.css">
  5. <title></title>
  6. </head>
  7. <body>
  8. <div style="padding-top: 50px;content: ''"></div>
  9. <div class="ui container grid">
  10. <div class="four wide column">
  11. <div class="row">
  12. <textarea class="ui form control" name="input" id="input" cols="100" rows="30">
  13. programa {
  14. const real C = 5.5
  15. funcao inteiro inicio() {
  16. inteiro a = 8
  17. se (a * C > 80) {
  18. a = 0
  19. } senao {
  20. a = -1
  21. }
  22. }
  23. }
  24. </textarea>
  25. </div>
  26. <div class="row">
  27. <button class="ui button" id="btn">Generate AST</button>
  28. </div>
  29. </div>
  30. <div class="six wide column">
  31. <div style="overflow-y: scroll; height: 20%;">
  32. <pre id="json-renderer" class="ui right floated"></pre>
  33. </div>
  34. </div>
  35. </div>
  36. </body>
  37. <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
  38. <script type="text/javascript" src="js/jquery.json-editor.min.js"></script>
  39. <script type="text/javascript" src="build/ivprog.bundle.js"></script>
  40. </html>