[DGD] DGD on Raspberry Pi

Raymond Jennings shentino at gmail.com
Sat Jun 22 22:32:11 CEST 2013


Nice!

I just heard about the pi from someone.

I think the bootstrap process is kinda weird though.

Still, kudos.


On Sat, Jun 22, 2013 at 1:07 PM, Erwin Harte <harte at is-here.com> wrote:

> If you want a $35 personal DGD server in your back pocket.
>
>     http://www.raspberrypi.org/**faqs <http://www.raspberrypi.org/faqs>
>
> Mine is a previous generation Model B with 256MB, the newer ones have
> 512MB for the same price, as I understand it. The Model B has Ethernet. I
> installed Raspbian (Debian derivative specifically for the rPi) on this:
>
> $ ssh pi at moonpi
> pi at moonpi's password:
> Linux moonpi 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l
> <...>
> pi at moonpi ~ $ git clone https://github.com/dworkin/**dgd.git<https://github.com/dworkin/dgd.git>
> <...>
> pi at moonpi ~ $ git clone https://github.com/dworkin/**kernellib.git<https://github.com/dworkin/kernellib.git>
> <...>
>
> The yacc/bison program isn't part of the default install, so we'll want
> that:
>
> pi at moonpi ~/dgd/src $ sudo apt-get install bison
> <...>
>
> Nothing to configure since this is a Linux install:
>
> pi at moonpi ~ $ cd dgd/src
> pi at moonpi ~/dgd/src $ time make
> <...>
> gcc -O -g  -o a.out alloc.o error.o hash.o swap.o str.o array.o object.o
> sdata.o data.o path.o editor.o comm.o call_out.o interpret.o config.o ext.o
> dgd.o `cat comp/dgd` `cat lex/dgd` \
>           `cat ed/dgd` `cat parser/dgd` `cat kfun/dgd` `cat lpc/dgd` \
>           `cat host/dgd` -ldl
>
> real    5m37.262s
> user    4m30.360s
> sys    0m6.840s
>
> Go back to the kernellib directory:
>
> - Edit doc/kernel/kernel.dgd for your actual location.
> - mkdir ../tmp
>
> pi at moonpi ~/kernellib $ ~/dgd/bin/driver doc/kernel/kernel.dgd
> Jun 22 19:35:06 ** DGD 1.4.19
> Jun 22 19:35:06 ** Initializing...
> Jun 22 19:35:07 ** Initialization complete.
> <...>
>
> The telnet program isn't part of the default Raspbian install:
> pi at moonpi ~/kernellib $ sudo apt-get install telnet
> <...>
>
> pi at moonpi ~/kernellib $ telnet localhost 6047
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
>
> DGD 1.4.19 (telnet)
>
> login: admin
> Pick a new password:
> Retype new password:
> Password changed.
> # status
>                                           Server:       DGD 1.4.19
> ------------ Swap device -------------
> sectors:        135 /      1024 ( 13%)    Start time:   Jun 22 19:35:06
> 2013
> sector size:   0.5K
> swap average:  0.11, 0.02                 Uptime:       00:00:32
>
> --------------- Memory ---------------    ------------ Callouts
> ------------
> static:      128656 /    256344 ( 50%)    short:         1 (100%)
> dynamic:      86856 /    261120 ( 33%) +  other:         0 (  0%) +
>              215512 /    517464 ( 42%)                   1 /      100 (
>  1%)
>
> Objects:         23 /       500 (  5%)    Users:         1 /       40 (
>  3%)
>
> #
>
> --Erwin
> ______________________________**______________
> https://mail.dworkin.nl/**mailman/listinfo/dgd<https://mail.dworkin.nl/mailman/listinfo/dgd>
>



More information about the DGD mailing list