langFunctions.js 745 B

123456789101112131415161718192021222324252627282930313233
  1. /* This is a dictionary of the language defined functions
  2. **/
  3. export default {
  4. main_function: "inicio",
  5. $read: "leia",
  6. $write: "escreva",
  7. $numElements: "total_of_elements",
  8. $matrixLines: "total_of_lines",
  9. $matrixColumns: "total_of_columns",
  10. $substring: "subcadeia",
  11. $length: "comprimento",
  12. $uppercase: "caixa_alta",
  13. $lowercase: "caixa_baixa",
  14. $charAt: "char_at",
  15. $isReal: "is_real",
  16. $isInt: "is_integer",
  17. $isBool: "is_logic",
  18. $castReal: "to_real",
  19. $castInt: "to_integer",
  20. $castBool: "to_logic",
  21. $castString: "to_string",
  22. $sin: "sin",
  23. $cos: "cos",
  24. $tan: "tan",
  25. $sqrt: "sqrt",
  26. $pow: "pow",
  27. $log: "log",
  28. $abs: "abs",
  29. $negate: "negate",
  30. $invert: "invert",
  31. $max: "maximum",
  32. $min: "minimum"
  33. }