Pascal Compiler for Android
See app on Google Play Store
The application is a Pascal interpreter on Android. This application is confusing for everyone to learn Pascal on the mobile without a computer, so that we can practice anytime, anywhere.
If you want to translate this app, please visit this link http://osewnui.oneskyapp.com/collaboration/project/272800
text_to_speech.pas
speech_to_text.pas
.vibrate.pas
accelerometer_sensor.pas
for accelerometer sensor examplenotify.pas
clipboard.pas
examplebattery.pas
examplePascal N-IDE allows write program with objects class of Java
, which seems crazy :), but it is possible. I reprogrammed a whole platform. Therefore, you can completely use the class
of Java
(such as java.util.ArrayList
or java.net.Socket
to program Socket). That's great, isn't it?.
For more information, please read the java_under_pascal.md
wiki for details.
Link instruction
Here is an example of using Socket
var
sk: java_net_Socket;
ipAddress: string;
Port: integer;
begin
ipaddress := '192.168.1.1';
port := 80;
{Socket sk = new Socket(ipAddress, port)}
New(sk, ipAddress, port);
writeln(sk);
writeln(sk.isConnected());
end.
or ArrayList
in Java
var
list: java_util_ArrayList;
i: integer;
begin
new(list);
for i := 1 to 10 do
list.add(i);
for i := 1 to 10 do
writeln(list.get(i));
end.
All contributions are welcome, include code, documentation, suggestions, bug reports, ... . Use github pull request feature or email me. Many thanks for your help To help translate this app, please visit http://osewnui.oneskyapp.com/collaboration/project?id=272800
See in https://pascalnide.wordpress.com/
If you want to help me write a tutorial, please email to me.
The code in this repository is licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
NOTE: This software depends on other packages that may be licensed under different open source licenses.
Trần Lê Duy