Issue Details (XML | Word | Printable)

Key: PLATYPUS-5
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: therealbean
Reporter: therealbean
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
platypus

Need to implement [* command, which prints a user or system string

Created: 24/Jun/09 07:52 AM   Updated: 29/Aug/09 07:33 AM  Due: 15/Jul/09   Resolved: 29/Aug/09 07:33 AM
Component/s: platypus commands
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 0 minutes
Remaining Estimate - 0 minutes
Time Spent: 3 hours, 15 minutes
Time Spent - 3 hours, 15 minutes

Tags: commands macro userstring systemstring


 Description  « Hide

Currently, the [* command is not implemented correctly. See this blog entry from June 6th:

Printing macros is done with the [* command. So, if XYZ is a macro meaning "hello!", then [*XYZ] prints "hello!"

Works correctly. But realized that definition of macros has to be passed through to the plugin. Currently, it's incorrectly being done by the Platypus parser, which does the macro definition operation at parse time.



therealbean added a comment - 24/Jun/09 08:02 AM

Actually, it's the [def command that has to be moved to the plugin. Currently, it's being done in the core Platypus processing. This means that by the time the list of tokens is passed to the plugin, the macros have the value of the last [def command.

Note: When done, note in the architecture manual that all plugins need to implement the [def command.


therealbean added a comment - 29/Aug/09 07:33 AM

Fixed and tested both at unit test and functional test levels.