1
0

langFunctions.js 752 B

1234567891011121314151617181920212223242526272829303132333435
  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. $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. $rand: "random"
  34. }