[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/doc motlle.txt, 1.2, 1.3 tinyscheme.txt, 1.2, 1.3

David Gay idgay at users.sourceforge.net
Sun Oct 30 10:23:51 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20471/languages/motlle/doc

Modified Files:
	motlle.txt tinyscheme.txt 
Log Message:
-I option for finding tinysql attributes, aggregates
reorganise tinysql directory
misc doc updates


Index: motlle.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc/motlle.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** motlle.txt	26 Oct 2005 00:28:27 -0000	1.2
--- motlle.txt	30 Oct 2005 18:23:49 -0000	1.3
***************
*** 91,99 ****
  
  Once you have a .vmsf file, you build a motlle VM by executing the
! motllevm-build script found in the tools directory, passing the .vmsf file
! as its argument (you will typically need to be in the directory containing
! the .vmsf file when doing this). This will generate a VM in the directory
! specified by the DIR= directive. You build and install the generated 
! VM like a usual TinyOS program.
  
  Note that motlle library functions are found in directonies named gen,
--- 91,99 ----
  
  Once you have a .vmsf file, you build a motlle VM by executing the
! motlle-vmbuild command, passing the .vmsf file as its argument (you
! will typically need to be in the directory containing the .vmsf file
! when doing this). This will generate a VM in the directory specified
! by the DIR= directive. You build and install the generated VM like a
! usual TinyOS program.
  
  Note that motlle library functions are found in directonies named gen,
***************
*** 103,119 ****
  ==========================
  
! The tools/mload utility is used to install motlle programs on motes with
  motlle VMs. This utility expects to find the conf.mt file that
! motllevm-build generated in the current directory. motllevm-build places
  this file in the VM's directory (the one specified by DIR=), so you have
! two main choices for how to run mload:
  - run it from the VM's directory
  - create a symbolic link to conf.mt in the current directory before
!   executing mload (`ln -s <path to VM dir>/conf.mt').
  
! Using mload is straightforward:
!   mload <file containing motlle source>: compiles and loads the file
!   mload -e "<motlle expression>": run a 1-line motlle program
!     (mload -e "led(4)") is a good test that your VM is working...)
  
  The examples directory contains two simple motlle applications:
--- 103,119 ----
  ==========================
  
! The motlle-load utility is used to install motlle programs on motes with
  motlle VMs. This utility expects to find the conf.mt file that
! motlle-vmbuild generated in the current directory. motlle-vmbuild places
  this file in the VM's directory (the one specified by DIR=), so you have
! two main choices for how to run motlle-load:
  - run it from the VM's directory
  - create a symbolic link to conf.mt in the current directory before
!   executing motlle-load (`ln -s <path to VM dir>/conf.mt').
  
! Using motlle-load is straightforward:
!   motlle-load <file containing motlle source>: compiles and loads the file
!   motlle-load -e "<motlle expression>": run a 1-line motlle program
!     (motlle-load -e "led(4)") is a good test that your VM is working...)
  
  The examples directory contains two simple motlle applications:

Index: tinyscheme.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/doc/tinyscheme.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** tinyscheme.txt	28 Oct 2005 03:21:53 -0000	1.2
--- tinyscheme.txt	30 Oct 2005 18:23:49 -0000	1.3
***************
*** 90,98 ****
  
  Once you have a .vmsf file, you build a TinyScheme VM by executing the
! motllevm-build script found in the tools directory, passing the .vmsf file
! as its argument (you will typically need to be in the directory containing
! the .vmsf file when doing this). This will generate a VM in the directory
! specified by the DIR= directive. You build and install the generated VM
! like a usual TinyOS program.
  
  Note that TinyScheme library procedures are found in directories named sgen,
--- 90,98 ----
  
  Once you have a .vmsf file, you build a TinyScheme VM by executing the
! motlle-vmbuild command, passing the .vmsf file as its argument (you
! will typically need to be in the directory containing the .vmsf file
! when doing this). This will generate a VM in the directory specified
! by the DIR= directive. You build and install the generated VM like a
! usual TinyOS program.
  
  Note that TinyScheme library procedures are found in directories named sgen,
***************
*** 130,146 ****
  ==============================
  
! The tools/mload utility is used to install TinyScheme programs on motes with
  TinyScheme VMs. This utility expects to find the conf.mt file that
! motllevm-build generated in the current directory. motllevm-build places
  this file in the VM's directory (the one specified by DIR=), so you have
! two main choices for how to run mload:
  - run it from the VM's directory
  - create a symbolic link to conf.mt in the current directory before
!   executing mload (`ln -s <path to VM dir>/conf.mt').
  
! Using mload is straightforward:
!   mload <file containing TinyScheme source>: compiles and loads the file
!   mload -e "<TinyScheme expression>": run a 1-line TinyScheme program
!     (mload -e "(led 4)") is a good test that your VM is working...)
  
  The examples directory contains two simple TinyScheme applications:
--- 130,146 ----
  ==============================
  
! The motlle-load utility is used to install TinyScheme programs on motes with
  TinyScheme VMs. This utility expects to find the conf.mt file that
! motlle-vmbuild generated in the current directory. motlle-vmbuild places
  this file in the VM's directory (the one specified by DIR=), so you have
! two main choices for how to run motlle-load:
  - run it from the VM's directory
  - create a symbolic link to conf.mt in the current directory before
!   executing motlle-load (`ln -s <path to VM dir>/conf.mt').
  
! Using motlle-load is straightforward:
!   motlle-load <file containing TinyScheme source>: compiles and loads the file
!   motlle-load -e "<TinyScheme expression>": run a 1-line TinyScheme program
!     (motlle-load -e "(led 4)") is a good test that your VM is working...)
  
  The examples directory contains two simple TinyScheme applications:



More information about the Tinyos-commits mailing list