mirror of
https://git.tesses.org/tesses50/crosslangextras.git
synced 2026-06-02 02:45:31 +00:00
Add reference
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/^ Write Text To Standard Output ^/
|
||||
func Console.WriteLine(text)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
/^ Get Documents Folder ^/
|
||||
func Env.getDocuments()
|
||||
{
|
||||
|
||||
}
|
||||
10
Tesses.CrossLang.Reference/src/runtime_methods/fs.tcross
Normal file
10
Tesses.CrossLang.Reference/src/runtime_methods/fs.tcross
Normal file
@@ -0,0 +1,10 @@
|
||||
/^ Read string contents from file ^/
|
||||
func FS.ReadAllText(filesystem, path)
|
||||
{
|
||||
|
||||
}
|
||||
/^ Write string contents to file ^/
|
||||
func FS.WriteAllText(filesystem, path, contents)
|
||||
{
|
||||
|
||||
}
|
||||
16
Tesses.CrossLang.Reference/src/runtime_methods/json.tcross
Normal file
16
Tesses.CrossLang.Reference/src/runtime_methods/json.tcross
Normal file
@@ -0,0 +1,16 @@
|
||||
/^
|
||||
Decode JSON String to Object
|
||||
^/
|
||||
func Json.Decode(text)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/^
|
||||
Encode Object to JSON String
|
||||
pretty: true: make pretty, false: compact
|
||||
^/
|
||||
func Json.Encode(obj, $pretty)
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user