Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add several verbs of priority 1 #154

Closed
wants to merge 20 commits into from
Closed

Add several verbs of priority 1 #154

wants to merge 20 commits into from

Conversation

Lotes
Copy link
Collaborator

@Lotes Lotes commented Oct 1, 2024

Summary

The only missing verbs of priority 1 are FILE, INPUTN and INPUTE. I made two issues to ask for missing information: #152 and #153 .
The only new priority 2 verb in this PR is CHANOPT.
Several entries in the VERBs.md table were updated according to the state in the parser tests (INTERFACE, INTERFACEEND, INPUT, FOR ... NEXT ...).

Implemented

Following priority 1 verbs were implemented:

  • BACKGROUND
  • DELETE
  • DIM can have an ERR= line reference now
  • LOCK and UNLOCK
  • ON ... GOSUB/GOTO
  • PREFIX
  • PRINT can now be used standalone without parameters
  • REMOVE
  • SQLCOMMIT
  • SQLROLLBACK
  • START
  • STOP

Following priority 2 verbs were implemented:

  • CHANOPT

Open issues

When SQLEXEC is used without parameters, the next verb in the next line is interpreted as an expression.

SQLEXEC(1) //no parameters appended
SQLCOMMIT(1)  //SQLCOMMIT is marked as linking error because it gets the role of an expression

@Lotes Lotes requested a review from msujew October 1, 2024 07:10
@Lotes Lotes closed this Oct 15, 2024
Lotes added a commit that referenced this pull request Oct 15, 2024
* enh: show message box with error when something goes wrong in the initialization process.

* chore: roll version

* fix: #129

* Remove dead code

* Fix PRINT standalone (#147 partially solved)

* Update VERBs table

* Add Background verb

* Add DELETE verb

* Complete DIM verb

* Add test for FOR... NEXT

* Add a validation for interface methods to have no body

* Add LOCK and UNLOCK verbs

* Add STOP verb

* Add START verb

* Add SQLROLLBACK verb

* Add SQLCOMMIT verb

* Add RESET and RETRY verbs

* Add ON ... GOSUB verb

* Add PREFIX verb

* Add REMOVE verb

* Update VERBs list

* Add tests for INPUT verb

* Add CHANOPT verb

* Add CLEARP verb

* Add CLIPCLEAR verb

* Add CLIPTOFILE, CLIPCLEAR, CLIPLOCK and CLIPUNLOCK verbs

* Add DENUM verb

* Add check for validations

* Fix single test

* Add ENDTRACE verb

* Add FILEOPT and FLOATINGPOINT verbs

* Add FULLTEXT verb

* Add INDEXED verb

* Add LCHECKIN verb

* Add RESCLOSE and RESTORE verbs

* Add SAVE verb

* Add SAVEP verb

* Add SETDAY and SETTERM verbs

* Add SETTIME verb

* Add SETTRACE verbs

* Add SORT verb

* Try to add TABLE verb, but instead will avoid it temporarily

* Add UPDATELIC verb

* Add XCALL verb

* Fix some tests

* Quick save

* Fix last bugs from prio 1 branch

---------

Co-authored-by: Stephan Wald <[email protected]>
Co-authored-by: Stephan Wald <[email protected]>
@Lotes Lotes deleted the lotes/fix-return branch November 8, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant