CSCS Native Scripting

CSCS Native Scripting



免費

1.1for iPhone, iPod touch
9.9
1 Ratings
Vassili Kaplan
Developer
214.9 MB
Size
2020年03月01日
Update Date
Education
Category
4+
Age Rating
Age Rating
4+
Apps in this category do not contain restricted content.
9+
Apps in this category may contain mild or occasional cartoon, fantasy or real-life violence, as well as occasional or mild adult, sexually suggestive or horrifying content and may not be suitable for children under 9 years of age.
12+
Apps in this category may contain occasional mild indecent language, frequent or intense cartoon or real-life violence, minor or occasional adult or sexually suggestive material, and simulated gambling, and may be for children under 12 years of age.
17+
You must be at least 17 years old to access this App.
Apps in this category may contain frequent and intense offensive language; Frequent and intense cartoon, fantasy or realistic violence: frequent and intense adult, scary and sexually suggestive subjects: as well as sexual content, nudity, tobacco, alcohol and drugs, may not be suitable for children under 17 years of age.
CSCS Native Scripting 螢幕截圖
CSCS Native Scripting 海報CSCS Native Scripting 海報CSCS Native Scripting 海報CSCS Native Scripting 海報CSCS Native Scripting 海報CSCS Native Scripting 海報

About CSCS Native Scripting

CSCS (Customized Scripting in C#) can now be used for native mobile development.

This App contains a CSCS interpreter that you can use to play around with CSCS. There are also a few pre-set examples.

You can create any CSCS scripting code in one tab, "Create", and then see the results in another tab, "Run".

How to use CSCS for mobile development is described at:

- https://msdn.microsoft.com/en-us/magazine/mt829272
- http://www.codemag.com/article/1711081
- https://www.smashingmagazine.com/2020/01/cscs-scripting-language-cross-platform-development/

A Syncfusion E-book describing CSCS:

- https://www.syncfusion.com/resources/techportal/details/ebooks/implementing-a-custom-language

Another Syncfusion E-book on how to use it for mobile development:

https://www.syncfusion.com/ebooks/writing_native_mobile_apps_in_a_functional_language_succinctly

The CSCS repository with the description of the language is at:
https://github.com/vassilych/cscs

The CSCS for mobile repository is at:
https://github.com/vassilych/mobile

This App itself was produced in CSCS. Here is the complete CSCS code:
=========================
AutoScale();
SetBackgroundColor("cyan");

AddOrSelectTab("Create", "test.png", "test2.png");

__locComboFiles = GetLocation("ROOT", "CENTER", "ROOT", "TOP", -100, 40);
AddCombobox(__locComboFiles, "__comboFiles", "center:white:clear", 350, 60);
__optionsComboFiles = {"Sandbox", "Hello, World!", "Ads", "Busy Indicators", "Unit Tests"};

AddWidgetData(__comboFiles, __optionsComboFiles, "", "center");
SetFontSize(__comboFiles, 13);
SetValue(__comboFiles, "text2", "Done");
SetValue(__comboFiles, "alignment", "center");
AddAction(__comboFiles, "comboFilesChanged");

__locRemoveKeyboard = GetLocation(__comboFiles, "RIGHT", __comboFiles, "CENTER", 10);
AddButton(__locRemoveKeyboard, "__buttonKeyboard", "Keyboard", 150, 60);
SetFontSize(__buttonKeyboard, 12);
AddAction(__buttonKeyboard, "hideKeyboard");

__locScriptView = GetLocation("ROOT", "CENTER", __comboFiles, "BOTTOM", 0, 10);
AddTextEditView(__locScriptView, "__textView", "", 600, 900);
SetFontSize(__textView, 14);

AddOrSelectTab("Run", "learn.png", "run_icon.png");


function hideKeyboard(sender, arg) {
ShowHideKeyboard(__textView, false);//!IsKeyboard(__textView));
}
function comboFilesChanged(sender, arg) {
row = GetValue(sender);
WriteConsole("Combo row=", row);
text = "";
if (row == 1) {
text = ReadFileAsString("sfhello.cscs");
} elif (row == 2) {
text = ReadFileAsString("ads.cscs");
} elif (row == 3) {
text = ReadFileAsString("busyIndicators.cscs");
} elif (row == 4) {
text = ReadFileAsString("unitTests.cscs");
}
SetText(__textView, text);
}

function tabSelected(sender, arg) {
tabId = int(arg);
if (tabId != 1) {
return;
}

script = GetText(__textView);
RemoveTabViews(1);
try {
Run(script);
} catch(exc) {
AlertDialog("CSCS", exc);
WriteConsole(exc);
}
}

OnTabSelected("tabSelected");
SelectTab(0);
Show More

最新版本1.1更新日誌

Last updated on 2020年03月01日
歷史版本
- Updating to the newest CSCS Version
Show More
Version History
1.1
2020年03月01日
- Updating to the newest CSCS Version
1.0
2018年03月16日

CSCS Native Scripting FAQ

點擊此處瞭解如何在受限國家或地區下載CSCS Native Scripting。
以下為CSCS Native Scripting的最低配置要求。
iPhone
須使用 iOS 10.3 或以上版本。
iPod touch
須使用 iOS 10.3 或以上版本。
CSCS Native Scripting支持俄文, 德文, 意大利文, 日文, 法文, 簡體中文, 英文, 葡萄牙文, 西班牙文, 阿拉伯文

CSCS Native Scripting相關應用

你可能還喜歡

Vassili Kaplan 開發者的更多應用