Thinking inside the box 26 June 2003 Soar Workshop - Slide 1 © 2003 Soar Technology, Inc. Thinking… …inside the box SoarDoc Presented on Thursday, 26 June.

Slides:



Advertisements
Similar presentations
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Advertisements

Chapter 9 Customizing Data with Web Controls. ASP.NET 2.0, Third Edition2.
Macromedia Dreamweaver 4 Foundation Level Course.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 VisualSoar Update Andrew Nuxoll 09 June A Visual Editor for Soar Projects.
1 CA201 Word Application Creating Document for the Web Week # 9 By Tariq Ibn Aziz Dammam Community college.
A New Soar Debugger in Java Douglas Pearson ThreePenny Software
1 Chapter 11 Developing Custom Help. 11 Chapter Objectives Use HTML to create customized Help topics for an application Use the HTML Help Workshop to.
Developing a Basic Web Page Posting Files on UMBC
Doxygen and Javadoc By Derzsy Noemi.
Chapter 19 – Macromedia Dreamweaver MX 2004
Collections Management Museums Reporting in KE EMu.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Doxygen: Source Code Documentation Generator John Tully.
Concordia University Department of Computer Science and Software Engineering Click to edit Master title style ADVANCED PROGRAMING PRACTICES API documentation.
Creating a Simple Page: HTML Overview
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
DEVELOPMENT QA REPORTS A Series of Reports to Enforce Compliance with Your PeopleSoft Development Standards Leandro Baca.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
NetTech Solutions Working with Web Elements Lesson 6.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Using Visual Basic 6.0 to Create Web-Based Database Applications
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 Doxygen National University of Kaohsiung Department of Applied Mathematics Yu-Kai Hong, Chien-Hsiang Liu, Wei-Ren Chang February, 2008.
JavaDoc1 JavaDoc DEPARTMENT OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING CONCORDIA UNIVERSITY July 24, 2006 by Emil Vassev & Joey Paquet revision 1.2 –
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
The Basics of Javadoc Presented By: Wes Toland. Outline  Overview  Background  Environment  Features Javadoc Comment Format Javadoc Program HTML API.
R BRO SOLUTIONS INC. ©2006 RBRO Solutions Inc., All Rights Reserved Systems Design Consultants Document Migration into WorkSite.
Program documentation Using the Doxygen tool Program documentation1.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
1 Documenting with Javadoc. 2 Motivation  Why document programs? To make it easy to understand, e.g., for reuse and maintenance  What to document? Interface:
Tcl'2003 DocTools 10 th Annual Tcl/Tk Conference Andreas Kupries ActiveState Corporation.
HTML: Hyptertext Markup Language Doman’s Sections.
Javadoc: Advanced Features & Limitations Presented By: Wes Toland.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
Javadoc Dwight Deugo Nesa Matic
 Create a free account  Verify your address.
JavaDoc and Contracts Spring Documenting Contracts with JavaDoc Contract model for methods Preconditions Postconditions JavaDoc Industry standard.
Javadoc. Purpose of javadoc javadoc is a program that reads your Java program and produces great-looking documentation in HTML format Without any help,
CSE IntroductiontoDoxygen. Contents Introduction Main Steps for creating documentation Examples.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 8: Working with Style Sheets.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
A brief introduction to javadoc and doxygen. What’s in a program file? 1. Comments 2. Code.
July Doxygen A Code Documentation System Doxygen generates documentation directly from the structure and comments in the code –Browsable HTML documentation.
Introduction to XML XML – Extensible Markup Language.
Java Doc Guideline R.SANTHANA GOPALAN. Java Doc Guideline Audience Internal Developers PQA - who write test plans PPT – who write the documentation Customers.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
 Create a free account  Verify your address.
Preface IIntroduction Course Objectives I-2 Course Content I-3 1Introduction to Oracle Reports Developer Objectives 1-2 Business Intelligence 1-3 Enterprise.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
Problem Solving With C++ Doxygen Oct/Nov Introduction Doxygen is a documentation generator, a tool for writing software reference documentation.
Automatic Documentation Systems
Advanced Programing practices
Doxygen.
ASP.NET Web Controls.
Introduction to javadoc
Cascading Style Sheets (Introduction)
Cascading Style Sheets (Introduction)
Using Cascading Style Sheets (CSS)
Introduction to javadoc
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

Thinking inside the box 26 June 2003 Soar Workshop - Slide 1 © 2003 Soar Technology, Inc. Thinking… …inside the box SoarDoc Presented on Thursday, 26 June 2003 By: David Ray

Thinking inside the box 26 June 2003 Soar Workshop - Slide 2 © 2003 Soar Technology, Inc. Overview Generate API and behavior-level documentation for a Soar system Documentation in-line with source code Documentation audiences –Current developer –Future maintainers –Testers Behavior Validation & Verification Subject Matter Experts

Thinking inside the box 26 June 2003 Soar Workshop - Slide 3 © 2003 Soar Technology, Inc. Development Philosophy Heavily influenced by Doxygen and Javadoc tools Extensive configuration options Applicable to existing systems –Produce simple documentation for uncommented code –Extract existing comments Developers can use the features they like, ignore/disable the ones they don’t

Thinking inside the box 26 June 2003 Soar Workshop - Slide 4 © 2003 Soar Technology, Inc. Comment Block Syntax SoarDoc requires blocks of specially formatted comments in source Start with ##! line End with first non-comment line ##! filename.soar # # Detailed description of file #... #...

Thinking inside the box 26 June 2003 Soar Workshop - Slide 5 © 2003 Soar Technology, Inc. Command Syntax SoarDoc commands begin symbol Followed by zero or more arguments Many commands allow embedded HTML markup for formatting output –Emphasis, lists, tables, hyperlinks, etc ##! A brief description # of the object with embedded # HTML markup.

Thinking inside the box 26 June 2003 Soar Workshop - Slide 6 © 2003 Soar Technology, Inc. Example Input ##! count-attributes # Count the atributes in the learning instance predict # # Instances of this operator count each feature on the # object. # # Note: You can hard-code the number of features in most # cases. This solution gives users the flexibility to # readily change the number of features. # # Soar8: A new operator is necessary because indifferent # preferences are not available in Soar8 for non-operator # WMEs. # soar8

Thinking inside the box 26 June 2003 Soar Workshop - Slide 7 © 2003 Soar Technology, Inc. Example Output

Thinking inside the box 26 June 2003 Soar Workshop - Slide 8 © 2003 Soar Technology, Inc. Documentable Objects Files Soar productions Soar problem-spaces Soar operators User-defined groups –Arbitrary collections of files, productions, etc. Main Page –General project information

Thinking inside the box 26 June 2003 Soar Workshop - Slide 9 © 2003 Soar Technology, Inc. Common SoarDoc – Brief – Detailed – Author and creation – Modification – Programmer – “To do” list item

Thinking inside the box 26 June 2003 Soar Workshop - Slide 10 © 2003 Soar Technology, Inc. SoarDoc Output Generates set of HTML documentation Most objects get their own page –Productions are included in their file’s page Alphabetical indices of objects Hyperlinks between related objects Alternatively XML output is available –Integrate SoarDoc data into other applications

Thinking inside the box 26 June 2003 Soar Workshop - Slide 11 © 2003 Soar Technology, Inc. Datamap Generation dmgen –Separate tool –Build datamap by static code analysis –Generates XML representation of datamap from source productions SoarDoc generates datamap graphs from dmgen output using AT&T DOT tool Graphs included in problem-space and operator documentation

Thinking inside the box 26 June 2003 Soar Workshop - Slide 12 © 2003 Soar Technology, Inc. Datamap Generation Soar source productions XML Datamap dmgen SoarDoc

Thinking inside the box 26 June 2003 Soar Workshop - Slide 13 © 2003 Soar Technology, Inc. Auto-Generation of Comments Autodoc mode Run SoarDoc on existing code Generates comment blocks for all objects without SoarDoc-style comments Will use existing non-SoarDoc comments if desired.

Thinking inside the box 26 June 2003 Soar Workshop - Slide 14 © 2003 Soar Technology, Inc. Nuggets A flexible tool Useful even for existing systems Simplifies maintenance of API and behavior-level documentation Available for Linux and Windows

Thinking inside the box 26 June 2003 Soar Workshop - Slide 15 © 2003 Soar Technology, Inc. Coal Initial setup can be tedious –Configuring paths –Configuring dmgen requires Tcl + Soar –Installing DOT tool

Thinking inside the box 26 June 2003 Soar Workshop - Slide 16 © 2003 Soar Technology, Inc. Future Directions Setup wizard Cascading Style Sheet to give greater control over appearance Support for Visual Soar datamap files Output auto-generated comments as a patch file

Thinking inside the box 26 June 2003 Soar Workshop - Slide 17 © 2003 Soar Technology, Inc. How to get SoarDoc Available from Follow the SoarDoc link.