Skip to content

Project Description

Freeman Man edited this page Jun 1, 2016 · 5 revisions

Build Status

#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

#Testing Guidlines ##Create Tests (js files)

TDD Development acceptance criteria:

  1. Please put your test files in tests/lex/test
  2. Expected output in tests/lex/assert
  3. Create at least 2 test cases
  4. Each test must include at least 2 not yet tested language features / tokens
  5. 1 small test case (2-5 lines),
  6. 1 large test case (at least 10 lines)
  7. 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:

  1. Main program must still build
  2. Test_lex must still build
  3. Tests must pass "make test"

#Test framework

?

#Continuous Integration

travis ci

#References

http://www.ecma-international.org/ecma-262/6.0 http://www.antlr3.org/grammar/1206736738015/JavaScript.g

Clone this wiki locally