Opened 12 years ago

Closed 10 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 Changed 11 years ago by bird

  • Milestone changed from 0.1.1 release to 0.1.3

comment:2 Changed 11 years ago by bird

  • Status changed from new to assigned

Implemented flex in [1621].

comment:3 Changed 11 years ago by bird

  • Milestone changed from 0.1.3 to 0.1.4

Postponing the yacc/bison bit till 0.1.4.

comment:4 Changed 11 years ago by bird

Postponing the yacc/bison bit one more release.

comment:5 Changed 11 years ago by bird

  • Milestone changed from 0.1.4 to 0.1.5

comment:6 Changed 10 years ago by bird

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.