| الإصدار | 1.1 |
|---|---|
| الناشر | Vassili Kaplan |
| يوم الاصدار | ٠٩/٠٩/٢٠٢٠ |
| تم إضافة التاريخ | ٠٩/٠٩/٢٠٢٠ |
| متطلبات نظام التشغيل | iOS |
| المتطلبات | Requires iOS 10.3 or later. Compatible with iPhone, iPad, and iPod touch. |
| إجمالي التنزيلات | ٠ |
| السعر | Free |
وصف
يمكن الآن استخدام CSCS (البرمجة النصية المخصصة في C #) لتطوير الأجهزة المحمولة الأصلية.
يحتوي هذا التطبيق على مترجم CSCS يمكنك استخدامه للتلاعب مع CSCS. هناك أيضًا بعض الأمثلة المحددة مسبقًا.
يمكنك إنشاء أي تعليمات برمجية لبرنامج CSCS في علامة تبويب واحدة ، "إنشاء" ، ثم مشاهدة النتائج في علامة تبويب أخرى ، "تشغيل".
كيفية استخدام CSCS لتطوير الأجهزة المحمولة موصوفة في:
- 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/
كتاب إلكتروني Syncfusion يصف CSCS:
- https://www.syncfusion.com/resources/techportal/details/ebooks/implementing-a-custom-language
كتاب إلكتروني آخر لـ Syncfusion حول كيفية استخدامه لتطوير الأجهزة المحمولة:
https://www.syncfusion.com/ebooks/writing_native_mobile_apps_in_a_functional_language_succinctly
مستودع CSCS مع وصف اللغة موجود في:
https://github.com/vassilych/cscs
مستودع CSCS للجوال موجود في:
https://github.com/vassilych/mobile
تم إنتاج هذا التطبيق نفسه في CSCS. هذا هو رمز CSCS الكامل:
على نطاق والسيارات()؛
SetBackgroundColor ("سماوي") ؛
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"، "لوحة المفاتيح"، 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 ("تشغيل" ، "learn.png" ، "run_icon.png") ؛
وظيفة hideKeyboard (مرسل ، وسيطة) {
ShowHideKeyboard (__ textView ، false) ؛ //! IsKeyboard (__ textView)) ؛
وظيفة comboFilesChanged (مرسل ، arg) {
row=GetValue (المرسل) ؛
WriteConsole ("Combo row ="، 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) ؛
علامة تبويب الوظيفة Selected (sender، arg) {
tabId=int (arg) ؛
إذا (tabId!=1) {
إرجاع؛
script=GetText (__ textView) ؛
RemoveTabViews (1) ،
محاولة {
النصي تشغيل)؛
} catch (exc) {
AlertDialog ("CSCS" ، باستثناء) ؛
WriteConsole (عدا) ؛
OnTabSelected ("tabSelected") ؛
SelectTab (0) ؛