Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 745 Bytes

lang.md

File metadata and controls

30 lines (24 loc) · 745 Bytes

SyConf Language

Methods

List Methods

  • list.map(func) - creates a new list with mapped values. func takes two arguments value and key.
  • list.filter(func) - creates a new list with filtered values.
  • list.len() - TODO
  • list.append(a, b) - TODO

Hashmap Methods

  • hm.map(func) - TODO
  • hm.filter(func) - TODO
  • hm.len() - TODO
  • hm.insert(key, value) - TODO

String Methods

  • str.parse_json() - TODO
  • str.parse_yaml() - TODO
  • str.parse_toml() - TODO
  • str.trim() - TODO
  • str.unindent() - TODO

Functions

  • read_file(file_name) - TODO
  • getenv(name, default_value) - TODO
  • concat(array1, array2) - TODO
  • merge(hashmap1, hashmap2) - TODO
  • fold(initial_value, func, obj) - TODO