New User commands in Dyalog APL Dan Baronet 2013 *

Slides:



Advertisements
Similar presentations
User Commands (UCMDs) in Dyalog APL A programmer's tool V1.04 Dan Baronet.
Advertisements

Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Getting Started: Ansoft HFSS 8.0
Spice Spice in Dyalog V1.03. Sep Spice Utilities Spice is a user command handler. Under V11 & V12 it uses an input area at the bottom of the screen.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Millennium Cataloging in Release 2005 Georgia Fujikawa Manager, Training Programs.
ArcView Documents Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
The sequence of folders to a file or folder is called a(n) ________.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
SubVersioN – the new Central Service at DESY by Marian Gawron.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Snippet Management The following screens demonstrate how to: 1. Access and view snippets 2. Create a local standard snippet, or a local class snippet 3.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Course ILT Folder and file management Unit objectives Explore the contents of a hard disk and view file and folder attributes by using Windows Explorer.
MATLAB File Management. MATLAB User File Management Matlab provides a group of commands to manage user files. For more information, type help iofun. pwd.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Object-Oriented Software Engineering Using UNIX groups and Subversion Estimated Time: minutes “Unix is user-friendly. It's just very selective about.
Object-Oriented Software Engineering Using UNIX groups and CVS Estimated Time: minutes.
Issue Manager Presented By: Shaun McAnulty. Goals for Understanding Issue Manager is the ticketing & tracking system for issues between PI Employees and.
The Auditor Role The auditor has the same view of the course as the student does, but no marks are recorded for auditors.
CSCB07 TUT3 TA: Andrey Dyblenko Website:
Drexel University Software Engineering Research Group Git for SE101 1.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Active-HDL Interfaces Debugging C Code Course 10.
Key Applications Module Lesson 21 — Access Essentials
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
CSE 219 Computer Science III CVS
Utilities in Dyalog APL Dan Baronet Boston 2011 V1.00 0Dyalog’11 - BostonUtilities.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Spice Spice in Dyalog Document V1.06. Oct 2011 Spice Utilities Spice is a user command handler. Under V11 & V12 it uses an input area at the bottom of.
Procedure Editor :17 This SOP describes the Setting procedure and order folders. How to load procedures in order files for sources and.
Design Verification Code and Toggle Coverage Course 7.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time.
20081 Converting workspaces and using SALT & subversion to maintain them. V1.02.
Securing and Sharing Workbooks Lesson 11. The Review Tab Microsoft Excel provides several layers of security and protection that enable you to control.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
Oct SALT in Dyalog V1.17. Oct Introduction SALT is a Simple APL Library Toolkit It is a source code management system for Classes and script-based.
Oct SALT in Dyalog Doc v1.18. Oct Introduction SALT is a Simple APL Library Toolkit It is a source code management system for objects with.
User Commands in Dyalog APL By Dan Baronet A programmer's tool - V1.03.
Chapter – 8 Software Tools.
Math 252: Math Modeling Eli Goldwyn Introduction to MATLAB.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
Lesson 6-Using Utilities to Accomplish Complex Tasks.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Chapter 6. Copyright 2003, Paradigm Publishing Inc. CHAPTER 6 BACKNEXTEND 6-2 LINKS TO OBJECTIVES Create Folders Select Delete Copy a Document Move a.
FILE I/O: Low-level 1. The Big Picture 2 Low-Level, cont. Some files are mixed format that are not readable by high- level functions such as xlsread()
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
Problem Solving With C++ SVN ( Version Control ) April 2016.
Anjana & Shankar September,2010 Introduction to Programming Tools.
Spice Spice in Dyalog V1.02. Oct Spice Utilities Spice is a cover for SALT. It uses an input area at the bottom of the screen to issue user defined.
Source Control Dr. Scott Schaefer. Version Control Systems Allow for maintenance and archiving of multiple versions of code / other files Designed for.
© 2002, Cisco Systems, Inc. All rights reserved.
Source Control Dr. Scott Schaefer.
Subversion.
slides borrowed and adapted from Alex Mariakis and CSE 390a
Compilers, Make and SubVersion
Microsoft Visual Source Safe How & Why
From Excel to Outlook: creating a distribution list via Blackboard.
Lesson 19 Organizing and Enhancing Worksheets
Lesson 23 Getting Started with Access Essentials
Presentation transcript:

New User commands in Dyalog APL Dan Baronet 2013 *

System commands start with a right parenthesis, e.g. )SAVE User commands start with a right square bracket, e.g. ]SAVE User commands are akin to System commands

System commands are case insensitive User commands too User commands are akin to System commands

System commands are provided with the system User commands are WRITTEN by the user User commands are akin to System commands

System commands may take 0 or more arguments User commands too User commands are akin to System commands

System command WSID takes 0 or 1 argument: )WSID by itself returns the name of the active workspace. )WSID with an argument sets the name of the active workspace. Example

The System Command COPY takes 1 or more argument: )COPY with 1 argument copies the workspace named into the active workspace. )COPY with more than one argument … )copy wsx va vb fn1 fn2 namesp cl (7 arguments) Example

System commands have no modifiers (switches) User commands do ]XYZ argx -modifier One major difference *

Some system commands can be called under program ctrl, they have a system function equivalent, e.g. )WSID ⎕ WSID User commands can be called under pgm control too, via ⎕ SE.UCMD Program control

User commands came to life in APL/PC (STSC) about 1990 They were simulated in some other systems (e.g. Sharp APL) User commands are not new

The original implementation was different (component files) but the idea was the same: read the code in, execute it and get rid of it afterwards. Dyalog’s implementation uses text files. It was introduced 4 years ago with V12.1 User commands are noUser commands are not new *

One major problem was the lack of line parser. Manugistics eventually incorporated one in the system but it was limited. Dyalog incorporates a comprehensive line parser. User commands are not new

Dyalog ships with predefined user commands. User commands fall into several categories. Prepackaged commands

New addition to the company staff: Fiona With her the revision of names was made. This year’s word: reorganisation

-Minimum # arguments -Ability to specify the minimum length for command names and switches -Default value for modifiers (switches) - ⎕ AT tracking -Encryption -Boot with a function -Start debugging on line 1 New features *

Open and Compare: -use has been changed to –using Compare: -zone became –window Boot: -function is gone SALT changes

Up until now you could specify that a file was in the same folder as where the current workspace came from by using ⍵ as in ]load ⍵ \myfile If your workspace was named \A\B\C then the file loaded would be \A\B\myfile.dyalog SALT changes: file paths

There is a proposal to change this, e.g. ]load [w]\myfile SALT changes: file paths

Up until now you could specify that a file was in the same folder as the current directory by using./ e.g. ]load.\myfile You could now however specify../ Now you can. ]load../myfile SALT changes: file paths

The display now shows groups followed by a list of commands If a command is ambiguous (e.g. Compare) then its group is prepended. e.g. SALT.Compare and FN.Compare ]? Display format change

File commands Function related commands (FN) Namespace related commands (NS) Workspace related commands (WS) SALT commands Tools UCMD Etc. Commands Groups

In v1.34 a few commands have been added and many commands have been renamed Or Assigned a new group New / changed

array.compare (varcompare) array.edit (Aedit): D.Leibtag’s editor tohtml All the Compare functions have seen –zone become –window Array group

cd collect/split (splitfile) file.compare (cfcompare) file.edit find (ffind)/replace (freplace) tots (ffttots) touch to64 (fto64) File group

align (commentalign) calls (fncalls) dinput fn.compare (fncompare) latest reorderlocals (reordlocals) Vocabulary (defs) FN group

calendar factors (factorsof) fromhex tohex Misc group

scriptupdate (supdate) –DONT(SAVE) summary Xref –file= NS group

boxing disp display rows Output group

boxing ]box on -style=min ⍳ ¨ ⍳ 3 ┌─┬───┬─────┐ │1│1 2│1 2 3│ └─┴───┴─────┘ Output group

rows ]rows -fold=3 Was off ⍳ 10 4 ┌→───┬────┬────┬────┐ ↓1 1 │1 2 │1 3 │1 4 │ ├~──→┼~──→┼~──→┼~──→┤ │2 1 │2 2 │2 3 │2 4 │ ├~──→┼~──→┼~──→┼~──→┤ ····················· ├~──→┼~──→┼~──→┼~──→┤ │10 1│10 2│10 3│10 4│ └~──→┴~──→┴~──→┴~──→┘ Output group 3 rows

rows ]rows wrap Was off 2 22 ⍴⍳ Output group

rows ]rows cut Was WRAP 2 22 ⍴⍳ · · Output group dotdot

aplmon monitor profile time (CPUtime) -compare Performance group

clean (uclean) –delete(files) list load open –using= (*) removeversions salt.compare –using= (*) save, settings, snap * Switch –use now –using SALT group

ucmdhelp (helpexample) ucmdnoparsing (sampleA) ucmdparsing (sampleB) Samples group

add checkin (ci) co delete diff export import resolve status update All renamed from svnX SVN group

assemblies demo (works under Unix) dmx fileassociations (efa) guiprops Tools group

in (merged with inx) out (merged with outx) Transfer group

udebug uload unew urefresh ureset usetup uupdate uversion ws UCMD (Spice) group umonitor -report

Document (wsdoc) findrefs (refs) fnslike locate (wslocate) map nameslike peek (wspeek) sizeof varslike ws.compare (wscompare) WS group Locate is now –recursive unless –class is used And has new –execute switch.

…for this year Most of the changes relate to renaming commands and reassigning them to groups. Some of the switches’ names has yet to change. This is it

For details see SALT-UCMD release notes(V14) and the User Commands documents. This is it