langFunctions.js 742 B

12345678910111213141516171819202122232425262728293031323334
  1. /* This is a dictionary of the language defined functions
  2. **/
  3. export default {
  4. main_function: "start",
  5. $read: "read",
  6. $write: "write",
  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. }