-
Notifications
You must be signed in to change notification settings - Fork 3
Project Description
Freeman Man edited this page Jun 1, 2016
·
5 revisions
#Dependencies
- flex
- bison
#Language
we're using lex code for the scanner and C/C++ for our entire project
#Build environment
we're creating makefile and use gcc to build the project
in windows you can build with gcc with tools such as
- MinGW
- Cygwin
#IDE
any kind of IDE will be fine as we are using gcc to build
some recommendations would be
- CLion
- Code blocks
#Testing Guidlines ##Create Tests (js files)
TDD Development acceptance criteria:
- Please put your test files in tests/lex/test
- Expected output in tests/lex/assert
- Create at least 2 test cases
- Each test must include at least 2 not yet tested language features / tokens
- 1 small test case (2-5 lines),
- 1 large test case (at least 10 lines)
- Test js files must be valid (try running in browser console)
##Extend Grammar
Extend grammar.l and grammar.y if needed, test_lex.c as well so that it can parse your own tests
TDD Development acceptance criteria:
- Main program must still build
- Test_lex must still build
- Tests must pass "make test"
#Test framework
?
#Continuous Integration
#References
http://www.ecma-international.org/ecma-262/6.0 http://www.antlr3.org/grammar/1206736738015/JavaScript.g