| Wersiýa | 1.1 |
|---|---|
| Neşirçi | Vassili Kaplan |
| Çykan senesi | 9 sen 2020 |
| Sene goşuldy | 9 sen 2020 |
| Os talaplary | iOS |
| Talaplar | Requires iOS 10.3 or later. Compatible with iPhone, iPad, and iPod touch. |
| Jemi ýüklemeler | 0 |
| Bahasy | Free |
Düşündiriş
CSCS (C #-de ýöriteleşdirilen skript) indi ýerli ykjam ösüş üçin ulanylyp bilner.
Bu programmada CSCS bilen oýnamak üçin ulanyp boljak CSCS terjimeçisi bar. Öňünden kesgitlenen birnäçe mysal hem bar.
"Dörediň" bir goýmada islendik CSCS skript koduny döredip, netijeleri "Işlet" atly başga bir goýmada görüp bilersiňiz.
Jübi ösüşi üçin CSCS-ni nädip ulanmalydygy düşündirilýär:
- 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/
CSCS-ni suratlandyrýan “Syncfusion” elektron kitaby:
- https://www.syncfusion.com/resources/techportal/details/ebooks/implementing-a-custom-language
Ykjam ösüş üçin nädip ulanmalydygy barada başga bir “Syncfusion” elektron kitaby:
https://www.syncfusion.com/ebooks/writing_native_mobile_apps_in_a_functional_language_succinctly
Diliň beýany bolan CSCS ammary şu ýerde:
https://github.com/vassilych/cscs
Jübi ammary üçin CSCS şu ýerde:
https://github.com/vassilych/mobile
Bu programmanyň özi CSCS-de öndürildi. Ine, doly CSCS kody:
AutoScale ();
SetBackgroundColor ("sian");
AddOrSelectTab ("Dörediň", "test.png", "test2.png");
__locComboFiles=GetLocation ("Kök", "MERKEZ", "Kök", "TOP", -100, 40);
AddCombobox (__ locComboFiles, "__comboFiles", "merkez: ak: açyk", 350, 60);
__optionsComboFiles={"Sandbox", "Salam, Dünýä!", "Mahabatlar", "Işli görkezijiler", "Bölüm synaglary"};
AddWidgetData (__ comboFiles, __optionsComboFiles, "", "merkez");
SetFontSize (__ comboFiles, 13);
SetValue (__ comboFiles, "text2", "oneerine ýetirildi");
SetValue (__ comboFiles, "tekizlemek", "merkez");
AddAction (__ comboFiles, "comboFilesChanged");
__locRemoveKeyboard=GetLocation (__ comboFiles, "HUKUK", __comboFiles, "MERKEZ", 10);
AddButton (__ locRemoveKeyboard, "__buttonKeyboard", "Klawiatura", 150, 60);
SetFontSize (__ düwmesiKeyboard, 12);
AddAction (__ düwmesiKeyboard, "hideKeyboard");
__locScriptView=GetLocation ("ROOT", "MERKEZ", __comboFiles, "BOTTOM", 0, 10);
AddTextEditView (__ locScriptView, "__textView", "", 600, 900);
SetFontSize (__ textView, 14);
AddOrSelectTab ("Işlet", "learn.png", "run_icon.png");
gizlemekKeyboard (iberiji, arg) funksiýasy
ShowHideKeyboard (__ textView, ýalan); //! IsKeyboard (__ textView));
comboFilesChanged funksiýasy (iberiji, arg) {
hatar=GetValue (iberiji);
WriteConsole ("Combo row =", hatar);
text="";
eger (hatar == 1) {
text=ReadFileAsString ("sfhello.cscs");
} elif (hatar == 2) {
text=ReadFileAsString ("ads.cscs");
} elif (hatar == 3) {
text=ReadFileAsString ("busyIndicators.cscs");
} elif (hatar == 4) {
text=ReadFileAsString ("unitTests.cscs");
SetText (__ textView, tekst);
funksiýa tabSelected (iberiji, arg) {
tabId=int (arg);
eger (tabId!=1) {
gaýdyp gelmek;
script=GetText (__ textView);
RemoveTabViews (1);
synanyş {
Işlet (skript);
} tutmak (çykarmak) {
AlertDialog ("CSCS", goşmaça);
WriteConsole (goşmaça);
OnTabSelected ("tabSelected");
SelectTab (0);