Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Parse and syntax errors  RSS feed

 
Sasha Hernandez
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between a parse error and a syntax error?
 
Igor Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At compilation:
1. programm divide to lexical units,
2. and then from the units, build (and check) grammar structure.
3. .....
So I think "parse error" - error during phase 1,
" syntax error" - error during phase 2.
[ March 15, 2004: Message edited by: Igor Ko ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!