Please Help Me with my program( push buttong back and forth, ERROR

Good day, Can some help me to find solution for my project programming error

Attached here with is my program.

and Here is the error for my program


Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\Maricel\Desktop\sketch_prrog\sketch_prrog.ino:7:0:

C:\Users\Maricel\Documents\Arduino\libraries\AccelStepper\src/AccelStepper.h:309:1: error: expected ',' or ';' before 'class'

class AccelStepper

^

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Thank you very much in advance

sketch_prrog.ino (2.32 KB)

int buttonState = 0Something missing perhaps ?

  stepper1.setMAXSPEED(1000.0);Check the name of the function. It is not setMAXSPEED

  buttonState = digitalread(buttonPin);

Nope !

  if (analog_read_counter > 0

Or this

else[

or this

    stepper1.runSpeed()

or this

    stepper1.setSpeed(current_speed)

or this

Then I stopped looking