Opened 17 years ago

Closed 16 years ago

#18 closed task (fixed)

Implement support for .l and .y files

Reported by: bird Owned by: bird
Priority: major Milestone: 0.1.5
Component: kBuild Version: 0.1.0
Keywords: Cc:

Description

.l is flex input and spits out a .c file. While .y is for yacc/bison and spits out y.tab.c and y.tab.h (yacc) in the current directory. Since the .y files generate headers, they must be executed before any object files are made as it's not possible to predict which depends on the generated header and which doesn't. The name of the .h file should be configurable, but the default should use the input filename sans extension. Because yacc cannot control where it puts the output or what it's called, the rule has to be added to .NOTPARALLEL.

Change History (6)

comment:1 by bird, 17 years ago

Milestone: 0.1.1 release0.1.3

comment:2 by bird, 17 years ago

Status: newassigned

Implemented flex in [1621].

comment:3 by bird, 16 years ago

Milestone: 0.1.30.1.4

Postponing the yacc/bison bit till 0.1.4.

comment:4 by bird, 16 years ago

Postponing the yacc/bison bit one more release.

comment:5 by bird, 16 years ago

Milestone: 0.1.40.1.5

comment:6 by bird, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [2224]) kBuild: Implemented flex and yacc/bison support. Fixes #18.

Note: See TracTickets for help on using tickets.