I keep getting an exit status 1 expected primary-expression before ')' token for my code I am trying to compile my sketch for a servo motor in order to make it move back in forth (like a pulse) I used two for loops to make this happen but when I determine the scope before the loop I get this error not matter what i change for the variable ctr before the loop commences. Here is my code so that you can see where I most likely messed up. 
edit: I added the fixes so far that was suggested in the comments now I am having a new issue with line 85 i get an error that says 

exit status 1
expected ';' before ':' token


here is the code in question with all the edits suggested so far

 #include &lt;ESP8266WiFi.h&gt;
#include &lt;Servo.h&gt;

const char* ssid = "RETProject";
const char* password = "mporfiri";

WiFiServer server(80);

int ledPin = 13; // GPIO13
Servo servoLeft;
Servo servoRight;
//int ctr = ();
 int ctr = 0;

void setup() {
  Serial.begin(115200);
  delay(10);

  pinMode(LED_BUILTIN, OUTPUT);
  digitalWrite(LED_BUILTIN, LOW);

  // Connect to WiFi network
  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi connected");

  // Start the server
  server.begin();
  Serial.println("Server started");

  // Print the IP address
  Serial.print("Use this URL to connect: ");
  Serial.print("http://");
  Serial.print(WiFi.localIP());
  Serial.println("/");

  //servoLeft.attach(2);
  //servoRight.attach(4);

}

void loop() {
  // Check if a client has connected
  WiFiClient client = server.available();
  if (!client) {
    return;
  }

  // Wait until the client sends some data
  Serial.println("new client");
  while(!client.available()){
    delay(1);
  }

  // Read the first line of the request
  String request = client.readStringUntil('\r');
  Serial.println(request);
  client.flush();

  // Match the request

  int value = LOW;
  while (value = LOW);
  if (request.indexOf("/LED=ON") != -1)  {
    digitalWrite(LED_BUILTIN, HIGH);
    value = HIGH;
    servoLeft.attach(2);
    servoRight.attach(4); 

    for (ctr = 0:pulse:1) { 
      servoRight.write(ctr);
      servoLeft.write(ctr);
    }

    for (ctr = 1:-pulse:0) { 
      servoRight.write(ctr)
      servoLeft.write(ctr);
    }

  if (request.indexOf("/LED=STOP") != -1)  {
    digitalWrite(LED_BUILTIN, LOW);
    value = LOW;
    servoLeft.detach();
    servoRight.detach();
    delay(1000);

  }

// Set ledPin according to the request
//digitalWrite(ledPin, value);

  // Return the response
  client.println("HTTP/1.1 200 OK");
  client.println("Content-Type: text/html");
  client.println(""); //  do not forget this one
  client.println("&lt;!DOCTYPE HTML&gt;");
  client.println("&lt;html&gt;");

  client.print("Robot is now: ");

  if(value == HIGH) {
    client.print("Moving Forward");
  } else if(value == LOW) {
    client.print("Moving Backward");
  } else {
    client.print("Stopped");
  }
  client.println("&lt;br&gt;&lt;br&gt;");
  client.println("&lt;a href=\"/LED=ON\"\"&gt;&lt;button&gt;Move Forward &lt;/button&gt;&lt;/a&gt;");
  client.println("&lt;a href=\"/LED=OFF\"\"&gt;&lt;button&gt;Move Backward &lt;/button&gt;&lt;/a&gt;&lt;br /&gt;");
  client.println("&lt;a href=\"/LED=STOP\"\"&gt;&lt;button&gt;STOP &lt;/button&gt;&lt;/a&gt;&lt;br /&gt;");   
  client.println("&lt;/html&gt;");

  delay(1);
  Serial.println("Client disonnected");
  Serial.println("");

}
This int ctr = () should probably be int ctr = 0

The for loop syntax is incorrect, see: https://www.tutorialspoint.com/cplusplus/cpp_for_loop.htm

The first for loop needs a } at the end.