nit.git
10 years agotools: add mkcsrc2 prototype to bootstrap with nitg from C
Jean Privat [Fri, 8 Nov 2013 21:26:24 +0000 (16:26 -0500)]
tools: add mkcsrc2 prototype to bootstrap with nitg from C

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotests: update nitg.res
Jean Privat [Fri, 8 Nov 2013 21:17:42 +0000 (16:17 -0500)]
tests: update nitg.res

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitg: add option --compile-dir to change the default compile directory
Jean Privat [Fri, 8 Nov 2013 21:15:44 +0000 (16:15 -0500)]
nitg: add option --compile-dir to change the default compile directory

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitg: path in Makefile is relative to the compile_dir
Jean Privat [Fri, 8 Nov 2013 21:15:03 +0000 (16:15 -0500)]
nitg: path in Makefile is relative to the compile_dir

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge remote-tracking branch 'alexandre/nitdoc'
Jean Privat [Thu, 7 Nov 2013 21:49:29 +0000 (16:49 -0500)]
Merge remote-tracking branch 'alexandre/nitdoc'

10 years agonitg: fixes iterators crashes for test in 62cdb9a9633767baafb04f66fdad79a46d2e9a69
Alexandre Terrasa [Thu, 7 Nov 2013 18:48:43 +0000 (13:48 -0500)]
nitg: fixes iterators crashes for test in 62cdb9a9633767baafb04f66fdad79a46d2e9a69

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agomake: add --private to newmodel documentation
Alexandre Terrasa [Thu, 7 Nov 2013 18:16:25 +0000 (13:16 -0500)]
make: add --private to newmodel documentation

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agotests: display binary, name and options of current engine
Jean Privat [Thu, 7 Nov 2013 17:56:41 +0000 (12:56 -0500)]
tests: display binary, name and options of current engine

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotests: rename engine `nitg` to `nitg-g` ; alias `nitg` to `nitg-s`
Jean Privat [Thu, 7 Nov 2013 16:41:40 +0000 (11:41 -0500)]
tests: rename engine `nitg` to `nitg-g` ; alias `nitg` to `nitg-s`

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotests: FIXME `for` crashes with formal types
Jean Privat [Thu, 7 Nov 2013 16:24:23 +0000 (11:24 -0500)]
tests: FIXME `for` crashes with formal types

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib/mnit: do not use "loop do"
Jean Privat [Thu, 7 Nov 2013 04:58:26 +0000 (23:58 -0500)]
lib/mnit: do not use "loop do"

the break is now attached to the do, not the loop

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoscope: break and continue affect the nearest do/end
Jean Privat [Thu, 7 Nov 2013 04:19:12 +0000 (23:19 -0500)]
scope: break and continue affect the nearest do/end

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agodoc: add a unit test for has_prefix
Jean Privat [Wed, 6 Nov 2013 15:46:07 +0000 (07:46 -0800)]
doc: add a unit test for has_prefix

Jean Privat <jean@pryen.org>

10 years agoMakefile: use `git rev-parse HEAD` instead of crazy `git show` commands
Jean Privat [Wed, 6 Nov 2013 15:47:55 +0000 (10:47 -0500)]
Makefile: use `git rev-parse HEAD` instead of crazy `git show` commands

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge remote-tracking branch 'alexandre/nitdoc'
Jean Privat [Wed, 6 Nov 2013 11:53:47 +0000 (06:53 -0500)]
Merge remote-tracking branch 'alexandre/nitdoc'

10 years agonitdoc: Replace old nitdoc by nitdoc_ni
Alexandre Terrasa [Wed, 6 Nov 2013 00:55:27 +0000 (19:55 -0500)]
nitdoc: Replace old nitdoc by nitdoc_ni

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agoadded swap files, tests results and Eclipse project file to git ignore
Alexandre Terrasa [Wed, 6 Nov 2013 00:54:30 +0000 (19:54 -0500)]
added swap files, tests results and Eclipse project file to git ignore

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agomodelbuilder: avoid multiple load of the same module
Alexandre Terrasa [Wed, 6 Nov 2013 00:53:39 +0000 (19:53 -0500)]
modelbuilder: avoid multiple load of the same module

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitcc: remove the use of NaiveCollection v0.6.2
Jean Privat [Fri, 1 Nov 2013 00:19:25 +0000 (20:19 -0400)]
nitcc: remove the use of NaiveCollection

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge branch 'nitcc'
Jean Privat [Thu, 31 Oct 2013 22:37:14 +0000 (18:37 -0400)]
Merge branch 'nitcc'

10 years agonitcc: cleanup README (TODO use github Task List)
Jean Privat [Thu, 31 Oct 2013 22:33:28 +0000 (18:33 -0400)]
nitcc: cleanup README (TODO use github Task List)

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/ignored
Jean Privat [Thu, 31 Oct 2013 16:32:53 +0000 (12:32 -0400)]
nitcc: add test/ignored

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: allows elem_list in Ignored
Jean Privat [Thu, 31 Oct 2013 16:32:23 +0000 (12:32 -0400)]
nitcc: allows elem_list in Ignored

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: avoid conflict in ignored for test/empty
Jean Privat [Thu, 31 Oct 2013 20:40:26 +0000 (16:40 -0400)]
nitcc: avoid conflict in ignored for test/empty

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Token::build_nfa to isolate concerns
Jean Privat [Thu, 31 Oct 2013 16:27:53 +0000 (12:27 -0400)]
nitcc: add Token::build_nfa to isolate concerns

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: classes and elements allow any forms of text
Jean Privat [Thu, 31 Oct 2013 15:12:45 +0000 (11:12 -0400)]
nitcc: classes and elements allow any forms of text

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Empty keyword
Jean Privat [Thu, 31 Oct 2013 14:27:17 +0000 (10:27 -0400)]
nitcc: add Empty keyword

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/conflict-bracket and test/conflitc-dangling
Jean Privat [Thu, 31 Oct 2013 03:08:56 +0000 (23:08 -0400)]
nitcc: add test/conflict-bracket and test/conflitc-dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve auto-dangling
Jean Privat [Thu, 31 Oct 2013 03:07:37 +0000 (23:07 -0400)]
nitcc: improve auto-dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve displaying of firsts/afters/lookahead
Jean Privat [Thu, 31 Oct 2013 03:06:34 +0000 (23:06 -0400)]
nitcc: improve displaying of firsts/afters/lookahead

since thez are now Items, not Tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add test/priority.input1
Jean Privat [Wed, 30 Oct 2013 20:17:20 +0000 (16:17 -0400)]
nitcc: add test/priority.input1

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add automatic Dangling
Jean Privat [Wed, 30 Oct 2013 20:12:35 +0000 (16:12 -0400)]
nitcc: add automatic Dangling

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoMerge remote-tracking branch 'alexis/ready-for-ffi'
Jean Privat [Wed, 30 Oct 2013 18:57:56 +0000 (14:57 -0400)]
Merge remote-tracking branch 'alexis/ready-for-ffi'

10 years agomodel: all extern classes are subclasses of Pointer
Alexis Laferrière [Fri, 2 Aug 2013 16:23:37 +0000 (12:23 -0400)]
model: all extern classes are subclasses of Pointer

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agonitg: adds process_nclassdef to Phase
Alexis Laferrière [Sat, 31 Aug 2013 14:55:46 +0000 (10:55 -0400)]
nitg: adds process_nclassdef to Phase

Will be used by FFI's language visitors.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: adds `from_a` constructor to all processes (and cleanup whitespaces)
Alexis Laferrière [Sat, 19 Oct 2013 14:01:21 +0000 (10:01 -0400)]
lib: adds `from_a` constructor to all processes (and cleanup whitespaces)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agolib: adds Pointer::address_is_null to kernel module
Alexis Laferrière [Thu, 13 Jun 2013 12:10:55 +0000 (08:10 -0400)]
lib: adds Pointer::address_is_null to kernel module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agotests: adds a FFI test for casts
Alexis Laferrière [Wed, 31 Jul 2013 01:51:47 +0000 (21:51 -0400)]
tests: adds a FFI test for casts

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agonitcc: store item instead of tokens in lookahead
Jean Privat [Wed, 30 Oct 2013 16:10:16 +0000 (12:10 -0400)]
nitcc: store item instead of tokens in lookahead

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Automaton::to_dot does not display the objectid
Jean Privat [Wed, 30 Oct 2013 14:02:44 +0000 (10:02 -0400)]
nitcc: Automaton::to_dot does not display the objectid

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: solve inclusion before outputting the DFA
Jean Privat [Wed, 30 Oct 2013 14:02:04 +0000 (10:02 -0400)]
nitcc: solve inclusion before outputting the DFA

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove forgotten debugging print
Jean Privat [Wed, 30 Oct 2013 13:53:00 +0000 (09:53 -0400)]
nitcc: remove forgotten debugging print

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove buggy LALR, use SLR instead
Jean Privat [Wed, 30 Oct 2013 13:50:11 +0000 (09:50 -0400)]
nitcc: remove buggy LALR, use SLR instead

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add new PoV Node::depth
Jean Privat [Wed, 30 Oct 2013 03:39:53 +0000 (23:39 -0400)]
nitcc: add new PoV Node::depth

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: merge Nodes#items and Node#children
Jean Privat [Wed, 30 Oct 2013 03:09:18 +0000 (23:09 -0400)]
nitcc: merge Nodes#items and Node#children

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add tests/lexer-aaa
Jean Privat [Wed, 30 Oct 2013 02:59:58 +0000 (22:59 -0400)]
nitcc: add tests/lexer-aaa

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automaton::reverse
Jean Privat [Wed, 30 Oct 2013 02:55:08 +0000 (22:55 -0400)]
nitcc: add Automaton::reverse

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: uptate tests wrt DFA minimization
Jean Privat [Wed, 30 Oct 2013 02:54:47 +0000 (22:54 -0400)]
nitcc: uptate tests wrt DFA minimization

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: minimize DFA
Jean Privat [Wed, 30 Oct 2013 02:54:12 +0000 (22:54 -0400)]
nitcc: minimize DFA

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agomisc/source-highlight: multiline-strings
Jean Privat [Tue, 29 Oct 2013 16:05:39 +0000 (12:05 -0400)]
misc/source-highlight: multiline-strings

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: efficient intervals in nfa/dfa
Jean Privat [Tue, 29 Oct 2013 04:07:58 +0000 (00:07 -0400)]
nitcc: efficient intervals in nfa/dfa

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: use 'Any' in minilang and json
Jean Privat [Tue, 29 Oct 2013 03:54:36 +0000 (23:54 -0400)]
nitcc: use 'Any' in minilang and json

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib: detach ForAbuser from Collection
Jean Privat [Fri, 25 Oct 2013 14:48:13 +0000 (10:48 -0400)]
lib: detach ForAbuser from Collection

Since it is no more a requirement.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update tests for longest/shortest
Jean Privat [Thu, 24 Oct 2013 21:40:29 +0000 (17:40 -0400)]
nitcc: update tests for longest/shortest

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Shortest/Longest
Jean Privat [Thu, 24 Oct 2013 21:33:46 +0000 (17:33 -0400)]
nitcc: add Shortest/Longest

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Automaton::to_dot include tag names even in non accept states
Jean Privat [Thu, 24 Oct 2013 21:27:48 +0000 (17:27 -0400)]
nitcc: Automaton::to_dot include tag names even in non accept states

This is mainly for debug

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: reject tokens that match nothing
Jean Privat [Thu, 24 Oct 2013 21:26:35 +0000 (17:26 -0400)]
nitcc: reject tokens that match nothing

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove And/Except hack on nicc_parser_gen
Jean Privat [Thu, 24 Oct 2013 20:08:11 +0000 (16:08 -0400)]
nitcc: remove And/Except hack on nicc_parser_gen

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README with Except and And
Jean Privat [Thu, 24 Oct 2013 19:35:10 +0000 (15:35 -0400)]
nitcc: update README with Except and And

10 years agonitcc: update tests for And and Except
Jean Privat [Thu, 24 Oct 2013 19:25:57 +0000 (15:25 -0400)]
nitcc: update tests for And and Except

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add And and Except
Jean Privat [Thu, 24 Oct 2013 19:25:01 +0000 (15:25 -0400)]
nitcc: add And and Except

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automaton::clear_tag
Jean Privat [Thu, 24 Oct 2013 19:21:28 +0000 (15:21 -0400)]
nitcc: add Automaton::clear_tag

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix visibility of Nelem::set_elem
Jean Privat [Thu, 24 Oct 2013 19:20:22 +0000 (15:20 -0400)]
nitcc: fix visibility of Nelem::set_elem

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix print with nullable
Jean Privat [Thu, 24 Oct 2013 19:20:00 +0000 (15:20 -0400)]
nitcc: fix print with nullable

Error messages require a better approach.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Automation::tag_acept and Automaton::absorb
Jean Privat [Thu, 24 Oct 2013 19:18:55 +0000 (15:18 -0400)]
nitcc: add Automation::tag_acept and Automaton::absorb

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Makefile add nitcc.sablecc in some rule arguments
Jean Privat [Thu, 24 Oct 2013 19:17:45 +0000 (15:17 -0400)]
nitcc: Makefile add nitcc.sablecc in some rule arguments

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agoexamples: update curl_http to have a consistant behavior on tests
Jean Privat [Thu, 24 Oct 2013 15:59:22 +0000 (11:59 -0400)]
examples: update curl_http to have a consistant behavior on tests

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agolib: Implemented HeaderMapIterator on Curl
Alexandre Terrasa [Fri, 18 Oct 2013 19:04:35 +0000 (15:04 -0400)]
lib: Implemented HeaderMapIterator on Curl

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitg: Changed specification of 'for .. do' statements
Alexandre Terrasa [Fri, 18 Oct 2013 19:04:09 +0000 (15:04 -0400)]
nitg: Changed specification of 'for .. do' statements

Can now iterate over every type that provides an iterator method.

Method iterator must return an instance of Iterator[E] of MapIterator[K, E]

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

10 years agonitcc: generate the dfa.dot file before complaining about buggy tokens
Jean Privat [Thu, 24 Oct 2013 14:53:09 +0000 (10:53 -0400)]
nitcc: generate the dfa.dot file before complaining about buggy tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: alttrans need no id
Jean Privat [Tue, 22 Oct 2013 00:45:11 +0000 (20:45 -0400)]
nitcc: alttrans need no id

will add better transformations later (maybe)

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated alternative name
Jean Privat [Tue, 22 Oct 2013 00:37:15 +0000 (20:37 -0400)]
nitcc: error on duplicated alternative name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated element name
Jean Privat [Tue, 22 Oct 2013 00:32:21 +0000 (20:32 -0400)]
nitcc: error on duplicated element name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error on duplicated expr/prod name
Jean Privat [Tue, 22 Oct 2013 00:31:27 +0000 (20:31 -0400)]
nitcc: error on duplicated expr/prod name

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: error if a token is rejected twice
Jean Privat [Fri, 18 Oct 2013 21:42:45 +0000 (17:42 -0400)]
nitcc: error if a token is rejected twice

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README wrt Rejected
Jean Privat [Fri, 18 Oct 2013 21:16:45 +0000 (17:16 -0400)]
nitcc: update README wrt Rejected

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agotests: adds engine name to conclusion of tests
Alexis Laferrière [Wed, 7 Aug 2013 15:06:23 +0000 (11:06 -0400)]
tests: adds engine name to conclusion of tests

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

10 years agonitcc: reject unknown keywords
Jean Privat [Fri, 18 Oct 2013 19:12:38 +0000 (15:12 -0400)]
nitcc: reject unknown keywords

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add tests for rejected tokens
Jean Privat [Fri, 18 Oct 2013 19:10:13 +0000 (15:10 -0400)]
nitcc: add tests for rejected tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add Rejected tokens
Jean Privat [Fri, 18 Oct 2013 19:09:03 +0000 (15:09 -0400)]
nitcc: add Rejected tokens

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: show the text of the token in NParserError.message
Jean Privat [Fri, 18 Oct 2013 19:37:16 +0000 (15:37 -0400)]
nitcc: show the text of the token in NParserError.message

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: parser adds the original error token in the node_stack
Jean Privat [Fri, 18 Oct 2013 17:27:56 +0000 (13:27 -0400)]
nitcc: parser adds the original error token in the node_stack

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: lexer do not crash on empty input stream
Jean Privat [Fri, 18 Oct 2013 17:14:03 +0000 (13:14 -0400)]
nitcc: lexer do not crash on empty input stream

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update tests with new syntax errors
Jean Privat [Fri, 18 Oct 2013 02:52:52 +0000 (22:52 -0400)]
nitcc: update tests with new syntax errors

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove 'print' in parser error
Jean Privat [Fri, 18 Oct 2013 02:51:36 +0000 (22:51 -0400)]
nitcc: remove 'print' in parser error

Information is available in the NError
object.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: better name of generated classes to avoid name conflicts
Jean Privat [Fri, 18 Oct 2013 02:09:29 +0000 (22:09 -0400)]
nitcc: better name of generated classes to avoid name conflicts

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: improve error messages
Jean Privat [Fri, 18 Oct 2013 01:31:09 +0000 (21:31 -0400)]
nitcc: improve error messages

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update README
Jean Privat [Fri, 18 Oct 2013 01:05:34 +0000 (21:05 -0400)]
nitcc: update README

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: update .gitignore
Jean Privat [Fri, 18 Oct 2013 01:01:27 +0000 (21:01 -0400)]
nitcc: update .gitignore

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: move sources to a src/ subdirectory
Jean Privat [Fri, 18 Oct 2013 01:00:41 +0000 (21:00 -0400)]
nitcc: move sources to a src/ subdirectory

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: Makefile gets a `tests` rule
Jean Privat [Fri, 18 Oct 2013 00:40:24 +0000 (20:40 -0400)]
nitcc: Makefile gets a `tests` rule

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: rename t/ to tests/
Jean Privat [Fri, 18 Oct 2013 00:39:46 +0000 (20:39 -0400)]
nitcc: rename t/ to tests/

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix Makefile to compile examples
Jean Privat [Fri, 18 Oct 2013 00:36:57 +0000 (20:36 -0400)]
nitcc: fix Makefile to compile examples

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add t/json.input1
Jean Privat [Thu, 17 Oct 2013 17:20:42 +0000 (13:20 -0400)]
nitcc: add t/json.input1

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: fix 'number' in json.sablecc
Jean Privat [Thu, 17 Oct 2013 17:20:16 +0000 (13:20 -0400)]
nitcc: fix 'number' in json.sablecc

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add inputs for more tests
Jean Privat [Thu, 17 Oct 2013 17:13:26 +0000 (13:13 -0400)]
nitcc: add inputs for more tests

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: remove superfluous -I in Makefile and t
Jean Privat [Thu, 17 Oct 2013 16:19:49 +0000 (12:19 -0400)]
nitcc: remove superfluous -I in Makefile and t

Because nitcc_runtime is in lib/

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: move nitcc_runtime to lib/
Jean Privat [Thu, 17 Oct 2013 16:18:51 +0000 (12:18 -0400)]
nitcc: move nitcc_runtime to lib/

The point of the runtime library is to be accessible by programs.

Signed-off-by: Jean Privat <jean@pryen.org>

10 years agonitcc: add README
Jean Privat [Thu, 17 Oct 2013 16:10:47 +0000 (12:10 -0400)]
nitcc: add README

10 years agonitcc: update .gitignore
Jean Privat [Thu, 17 Oct 2013 16:06:35 +0000 (12:06 -0400)]
nitcc: update .gitignore

Signed-off-by: Jean Privat <jean@pryen.org>