Search found 6 matches

by romilly
Wed Jan 25, 2017 8:03 am
Forum: Raspberry Pi
Topic: Accessing the RPi GPIO pins from APL
Replies: 14
Views: 80661

Re: Accessing the RPi GPIO pins from APL

Hi Ray, I'm really impressed by the amount of code you've got working with ⎕na - the quad-fn that raises terror in the bravest APler's heart (or mine, at any rate). I suspect that pin change polling code is always going to be slower than you'd like. There is a way of getting the Pi's kernel to g ...
by romilly
Wed Jan 18, 2017 8:46 am
Forum: Chat
Topic: ⎕ARBIN for serial comms (Pi to Beeb micro:bit)
Replies: 1
Views: 10704

⎕ARBIN for serial comms (Pi to Beeb micro:bit)

I'm about to link a Raspberry Pi and a BBC micro:bit using serial comms. I'd like to use APL and ⎕arbin on the Pi end but can't find any sample code. Any suggestions?

I'll eventually need two-way serial comms but one-way would do to start with.
by romilly
Fri Jun 03, 2016 8:39 am
Forum: Chat
Topic: ANNSER
Replies: 1
Views: 10917

ANNSER

I've just launched https://github.com/annser/annser - A Neural Network Simulator for Education and Research. No code yet, but a statement of goals.

The code will be implemented in Dyalog APL.

Let me know if you would like to contribute.
by romilly
Wed May 04, 2016 5:01 pm
Forum: Source Code Management
Topic: Problem changing SALT Setting.
Replies: 1
Views: 18043

Problem changing SALT Setting.

When I try to turn SALT's edit confirmation prompt off using ]salt.Settings 'edprompt 0' I get
Command Execution Failed: Invalid setting
but
⎕SE.SALT.Settings'edprompt 0'
works. What am I doing wrong?
by romilly
Wed May 04, 2016 10:21 am
Forum: Functional Programming
Topic: SALT, dfns and ]Defs
Replies: 6
Views: 73936

Re: SALT, dfns and ]Defs

First, thanks for the workaround, Phil, which works a treat. I had not encountered the issue with comments in one-liners because I added comments after the dfns were salted. My workflow will now be: 1) create/test the dfn 2) salt it 3) add the comment at the end of the first line That's ok but it ...
by romilly
Wed May 04, 2016 6:49 am
Forum: Functional Programming
Topic: SALT, dfns and ]Defs
Replies: 6
Views: 73936

SALT, dfns and ]Defs

I have a SALTed workspace that contains (only) dfns. They were created as one-liners but they now have two lines because SALT has added timestamps. ]Defs just lists names since the dfns are now multi-line. I'm tempted to try to create my own variant of ]Defs but I am a Dyalog noob and there are ...