All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.Algebra.algebra.accept-input.convert-input-to-clause-form.process-close-bracket.soar Maven / Gradle / Ivy

sp {convert-input-to-clause-form*propose*process-close-bracket
   (state  ^name convert-input-to-clause-form
              ^top-state.problem.current-input-value.value |]|)
-->
   ( ^operator  + =)
   ( ^name process-close-bracket)
}

sp {convert-input-to-clause-form*apply*process-close-bracket*clause-beginning
   (state  ^operator.name process-close-bracket
              ^top-state )
   ( ^problem 

) (

^current-input-value ^parse-clause ) ( ^parse-status post-right ^parent-clause ^right-side ) ( ^next ) --> (

^current-input-value - ) (

^parse-clause - ) } sp {convert-input-to-clause-form*apply*process-close-bracket*failure (state ^operator.name process-close-bracket ^top-state.problem

) (

^parse-clause.parse-status <> post-right) --> (write (crlf) |Error - incorrect position for ]|) (

^failed true) }