forked from smallbasic/SmallBASIC
SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. SmallBASIC includes trigonometric, matrices and algebra functions, a built in IDE, a powerful string library, system, sound, and graphic commands along with structured programming syntax
License
sanyaade-teachings/SmallBASIC
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. SmallBASIC includes trigonometric, matrices and algebra functions, a built in IDE, a powerful string library, system, sound, and graphic commands along with structured programming syntax == Building the MoSync port 1. Download and install the MoSync IDE: http://www.mosync.com/download 2. Download and install cygwin: http://www.cygwin.com/ Install the following packages: - automake - autoconf - pkg-config - make 3. Download and unzip SmallBASIC from github: https://github.com/smallbasic/SmallBASIC/zipball/master Unzip the resulting smallbasic-SmallBASIC-xxx.zip file into a clean directory (the following steps will refer to this as $SB_HOME). 4. Build the common components: $ cd $SB_HOME $ sh autogen.sh $ ./configure --enable-mosync $ make -s You should now see libsb_common.a in $SB_HOME/src/platform/mosync/common Next, copy the dot files in $SB_HOME/ide/mosync into $SB_HOME 5. Setup the MoSync IDE project Launch the MoSync IDE, then create a new workspace. Click: Import / MoSync / Exiting MoSync project into workspace Select root directory = $SB_HOME Enter Ctrl+B to build the project. 6. Useful bash profile settings for MoSync android development: alias adb="/c/Program\ Files\ \(x86\)/Android/android-sdk/platform-tools/adb.exe" export ANDROID_LOG_TAGS="ActivityManager:I maWriteLog:I *:S" alias adebug="adb -d logcat -c && adb -d logcat" =========================================================================== == Setup instructions for building FLTK version under a fresh ubuntu system 1. Install tools using synaptic package manager. Be sure to accept all included dependencies. Note, some of these are only required for building FLTK to completion but are not actually used in SmallBASIC: * subversion * autotools-dev * autogen * autoconf * libxft-dev * g++ * libxi-dev * libgl1-mesa-dev * libglut3-dev * libsdl1.2-dev * libreadline-dev 2. Download code from subversion: $ mkdir src && cd src $ svn co http://svn.easysw.com/public/fltk/fltk/trunk fltk-2.0 $ svn co https://smallbasic.svn.sourceforge.net/svnroot/smallbasic/trunk/smallbasic $ cd fltk-2.0 $ make (needs to complete at least up to building tests) $ sudo make install $ cd ../smallbasic $ sh autogen.sh $ configure --enable-fltk $ make $ sudo make install == Setup instructions for building FLTK version under cygwin Install cygwin along with mingw-gcc ./configure --host=i686-w64-mingw32 --enable-fltk For 64 bit build: ./configure --host=x86_64-w64-mingw32 --enable-fltk --- Old instructions --- Download and install cygwin --> http://www.cygwin.com/ Download and install MingW --> http://sourceforge.net/projects/mingw/ Setup $HOME/.bash_profile: --cut-here-- export PATH="/cygdrive/c/MinGW/bin:/usr/local/bin:/bin:" alias make=mingw32-make --cut-here-- Obtain and install FLTK as per the ubuntu instructions, then update the fltk makeinclude file: STRIP = /cygdrive/c/cygwin/bin/strip LIBCOMMAND = /cygdrive/c/cygwin/bin/ar cr RANLIB = /cygdrive/c/cygwin/bin/ranlib == Building the GTK version $ ./configure --enable-gtk $ make == Building the N770 version $ ./configure --enable-gtk --enable-hildon $ make deb == Building the SDL version Optionally install guichan - see http://guichan.sourceforge.net/wiki/index.php $ ./configure --enable-sdl $ make == Building the non-graphical console version (cygwin or linux) $ ./configure && make Windows 32 bit mingw console: $./configure --host=i686-w64-mingw32 && make Windows 64 bit mingw console: $./configure --host=x86_64-w64-mingw32 && make == .indent.pro settings -brf -nbap -br -brs -cdb -cdw -ce -cli0 -fca -i2 -l110 -lc110 -lp -nbbo -nbc -ncs -nip -npcs -npsl -nut -ppi0 -sc
About
SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. SmallBASIC includes trigonometric, matrices and algebra functions, a built in IDE, a powerful string library, system, sound, and graphic commands along with structured programming syntax
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published