langFunctions.js 776 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* This is a dictionary of the language defined functions
  2. **/
  3. export default {
  4. main_function: "main",
  5. $read: "read",
  6. $write: "write",
  7. $numElements: "total_of_elements",
  8. $matrixLines: "total_of_lines",
  9. $matrixColumns: "total_of_columns",
  10. $substring: "substring",
  11. $length: "length",
  12. $uppercase: "uppercase",
  13. $lowercase: "lowercase",
  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. $castChar: "to_char",
  23. $sin: "sin",
  24. $cos: "cos",
  25. $tan: "tan",
  26. $sqrt: "sqrt",
  27. $pow: "pow",
  28. $log: "log",
  29. $abs: "abs",
  30. $negate: "negate",
  31. $invert: "invert",
  32. $max: "maximum",
  33. $min: "minimum",
  34. $rand: "random"
  35. }