TerseTalk:: TerseTalk (Terse Talk) Wiki | [Changes] [Calendar] [Search] [Index] |
GITHUB -> https://github.com/strickyak/TerseTalk-Alpha
GRAMMAR -> https://github.com/strickyak/TerseTalk-Alpha/wiki/TerseTalkGrammar
The previous page was here -> http://wiki.yak.net/1015
Use the latest Eclipse. Version 3.7.2 works.
Follow the Android Developer site instructions to install the software. Compile and build Hello World first!
Windows > Android SDK Manager
You should have Android 2.1 (API 7) installed.
Windows > AVD Manager
An Android 3.0 works fine.
You should be able to see your plugged-in phone here:
~/android-sdks/platform-tools/adb devices
It needs to have "USB Debugging" enabled under developer options.
Right now, we're editing ".../terse-vm/prelude.txt" with "vi" to add classes and test stuff.
We suggest you cd to ".../terse-vm/src/terse/vm" to work.
From there, edit "../../../prelude.txt" to edit the prelude. Always edit the prelude.txt which is in the "terse-vm" project; the other prelude.txt files are automated copies of it.
After an edit of either the prelude or a .java file, run "make" (from that same directory).
Then in eclipse, in the "Java" perspective, in the "Package Explorer", open "terse-a1" and click "res" to hilight it. Hit F5 (or use middle-click, "Refresh" on it).
Then in terse-a1 > src > terse.a1, double-click TerseActivity.java. Hit Ctrl-F11 to run the app on your phone. (First, in a terminal shell, you can check that your phone is visible, by running "~/android-sdks/platform-tools/adb device".)
Install the git commands. They may be part of some GUI package, I don't care.
Make a new directory to hold the projects, "cd" to the directory, and run "git init".
Then run "git pull https://github.com/strickyak/TerseTalk-Alpha.git".
Then go into Eclipse, and use "File > Import".
If you see a "Git" option, use that. Otherwise use "General > Existing Projects into Workspace". You should be able to browse to your git dir you just made, then select all 3 "terse*" projects in it.
Then build as described above.
git push -v 'git@github.com:strickyak/TerseTalk-Alpha.git'
git remote add origin 'https://github.com/strickyak/TerseTalk-Alpha.git'
git pull origin
git branch --set-upstream master origin/master
git stash
git stash drop
(last modified 2012-06-05) [Login] |