Syntax checking is the verification that a program's source code is technically correct according to the rules of that programming language.
Questions tagged [syntax-checking]
110 questions
0
votes
1 answer
AngelScript code parser - which way should I take?
I'm writing the AngelScript IDE. Now I'm making my own "intellisense" system. I need to parse script file and create tables of functions, variables with their nesting levels etc. Which way should I go? Can System.CodeDom stuff can be used to handle…

virious
- 571
- 1
- 8
- 27
0
votes
1 answer
How do you setup eclipse so that it parses and underlines errors for C like it does for Java?
How do you setup eclipse so that it parses and underlines errors for C as you type like it does for Java?

chacham15
- 13,719
- 26
- 104
- 207
0
votes
1 answer
Automatic syntax checking in Vivado doesn't work for testbenches?
When I edit a VHDL testbench (simulation source) in Vivado (project mode), background syntax checking seems to be disabled: Obvious syntax errors like missing semicolons or undefined signals are not underlined with a squiggly red line (as in all…

Chipmuenk
- 607
- 1
- 7
- 22
0
votes
1 answer
How to syntax check a cassandra cql file from command line before executing it?
During development of cassandra datamodel how to very quickly do a commandline syntax check before executing the commands using cqlsh to avoid unnecessary troubleshooting? The larger the cql the more valuable the syntax check is.

Mike
- 397
- 2
- 16
0
votes
2 answers
Python syntax checkers that test edge cases
Are there syntax checkers able to detect broken code based on edge cases. An example:
def run():
for j in [0, 1]:
if j == 0:
yield j
else:
yield None
for i in run():
print i * 2
This code is broken…

wizmer
- 881
- 1
- 8
- 23
0
votes
1 answer
Configure Code Validation in Eclipse Galileo (3.5)?
In Eclipse Ganymede (3.4), you could navigate to:
Window > Preferences > Validation
... and enable/disable various Validators. This feature seems to have disappeared in 3.5. Was this feature moved/renamed/refactored? Where can I find it now? I…

Dolph
- 49,714
- 13
- 63
- 88
0
votes
0 answers
Clang cannot find include directory?
I just moved all my header files to be in the include directory of my project, rather than having both .cpp and .h in the src directory. I'm using YouCompleteMe in vim and now when I open vim, it tells me that my header files cannot be found on the…

Sterling
- 3,835
- 14
- 48
- 73
0
votes
1 answer
Does phpMyAdmin have a query syntax check feature?
Having previously used Microsoft's SQL Management Studio, I often used the query syntax check feature, pretty handy especially in a production environment.
Is there a similar feature in phpMyAdmin ?
If not, is there a way to validate the proper…

Pierre Roudaut
- 1,013
- 1
- 18
- 32
0
votes
0 answers
python script for validating files in eclipse
I have a self defined text editable (datafile) file format (which uses certain python types as dict, tuples, lists etc as well) for providing arguments data to my python scripts. These arguments are later used in my Main python script.
Currently, at…

codebraker
- 98
- 10
0
votes
1 answer
Using php -l to verify syntax - behavior w/ opening tags
I can't seem to find anything on this, and I'm wondering if anyone else has encountered this issue or knows the reason why.
I have some PHP code that I'm trying to verify the syntax of before I save it into a database.
I'm in Ruby, but that doesn't…

Steph Rose
- 2,126
- 3
- 23
- 35
0
votes
1 answer
Suitable Scenario to Handle with XText & XTend?
I need to provide and IDE with a syntax checker and validator for a very simple DSL.
The DSL's interpreter already exists so there is no need for another one. The DSL is suitable for xtext & xtend except that it allows one to escape to…

Toaster
- 1,911
- 2
- 23
- 43
0
votes
3 answers
how do i find the index of the first trail whitespace on python
I am writing a function that finds the index of the first trail whitespace of a string, but I am unsure of how to do so, can someone please teach me?
for example "i am here. " there are three spaces after the sentence. The function would give me…

Joyce Lam
- 33
- 1
- 4
0
votes
1 answer
Can FlyCheck be used with Komodo(for Django) for checking syntax on the fly?
I want to use Komodo IDE for building one Django project.I want to use flycheck syntax checker so that it indicates the syntax errors on the fly.If fly-check cannot be integrated with Komodo,is there any other possibility to syntax checking on the…

Debajyoti
- 1
- 2
0
votes
1 answer
quotes issue (ruby)
any idea how I can pass correct argument to xpath? There must be something about how to use single/double quotes. When I use variable
parser_xpath_identificator = "'//table/tbody[@id=\"threadbits_forum_251\"]/tr'" gives me an incorrect value or…

Radek
- 13,813
- 52
- 161
- 255
0
votes
4 answers
PHP code review/checking methods during development
I am looking for methods for performing sanity checks of PHP code during development
I hope to to avoid finding out about the coding mistakes the hard way, but instead find them before publishing the website.
display_errors = on and similar run-time…

tomsv
- 7,207
- 6
- 55
- 88