We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Poll: Chose Option
You do not have permission to vote in this poll.
First Option
0%
0 0%
Second Option
100.00%
2 100.00%
Total 2 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skull Custom Language Creator By ZS
#31
And I write comments,therads,post in this forum by my own in english not by translater
But I think absolute beginner write with translater
Reply
#32
Answer is in previous page last post .
Reply
#33
(translated by Google translator)

Hi everyone.
I reply to LitDev...

1) I grew up in Estonia. In Tallinn. Then I lived in Russia. And for the last 14 years I have been living in Ukraine.
At school I studied Russian, French and Estonian. Also, I studied Polish because my mother was born in Poland.
Now I also speak Ukrainian. Although, my memory is already quite bad due to age.
In English I understand and can say only the simplest words and sentences.
Best of all, I speak Russian.
2) I use the /l language localisation switch on standard SB IDE or SB-Prime.
3) I use SB-Prime because it is better than SB IDE.
4) I use the LD extension and my extension with autoclicker functions.

I think that children will not be able to clearly express their opinion about the idea of a language converter. But I am sure that it is more convenient for any person to create an ALGORITHM of a program in their native language. But, it is better to entrust the conversion of the algorithm text into standard program code to a simple converter utility.
[-] The following 1 user Likes AbsoluteBeginner's post:
  • z-s
Reply
#34
Thanks both,

The best idea I can come up with at the moment is an extension that replicates SmallBasicLibrary, calling its functions with translated language.

The following is a test of this idea with conversion for the Stack object in German, Russian and Hindi , probably bad translations!

https://litdev.uk/extensions/SBAliases.zip

Code:
Stapel.PushWert("sss" 1)
s=Stapel.PopWert("sss")
TextWindow.WriteLine(s)

Куча.НажмитеЗначение("sss" 2)
s=Куча.ПопулярнаяЦенность("sss")
TextWindow.WriteLine(s)

Dher.PushVailyoo("sss",3)
s=Dher.PopVailyoo("sss")
TextWindow.WriteLine(s)

Limitations:

The keywords do need to be European Latin based characters - the compiler won't accept Hindi script for example, although the intellisence can.
The compiled code will require the extension to use it
Code will not be transferable without extension - I guess a conversion program along the lines of previous discussions could do the necessary find/replace to convert to standard English SB.
Some work would be needed to do the conversions - I can supply English templates for all SmallBasicLibrary commands and some simple instructions - it should be possible to compile yourselves using csc.exe.

   
[-] The following 1 user Likes litdev's post:
  • z-s
Reply
#35
Very Good effort litdev
I am waiting for your template
By the way the ide till now I have makes has intelnse like sb I will soon send images
I am stuck at one place I decompile ld extension ldcall.compile method and modified it slightly but in CSC and ldinclude it show some error can you modifie it so that it will take the path of sb compiler and path of .sb file and then compile please help .
Reply
#36
(translated by Google translator)
Let's discuss the sequence of actions.

1. While a person writes the text of the algorithm of his program using SB Prime in his native language, he must have an "IntelliSense" hint, which contains the names of library methods, which are also written in his native language.

Am I understanding this correctly?..
Reply
#37
Yes, the idea is that intellisense and function names are in user language, as using the extension I posted for the Stack object.  It can be used in SB and SB-Prime - they both use the default SmallBasicLibrary and Compiler.

Have a go with the test I sent and see if it makes sence.

If they want to convert to English, then the kind of text conversion previously discussed may be possible, but to have intellisence and native language commands, this either has to be specially programmed in IDE or using simple translation extension like the test I created.
Reply
#38
I uploaded a beta vesion of LitDev extensin with LDCall.Compiler property added.  I prefer not change existing commands where possible for backwards compatibility reasons.

Hereis link to template https://litdev.uk/languages/SBAliasesTemplate.zip
Reply
#39
Fine. I'll start studying...
Reply
#40
Ok I currently busy but I downloaded zip talk tomorrow

You guys I think are not understanding correctly when I will upload images I think you will understand....
Till now I am saying that intelnse help come in a text box when you select it in main text box...
But no intelnse like when I type a it show schooler.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)