English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Log of /branches/common-nfo/tools/nfotiser/pfile.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3473 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 16:41:19 2007 UTC (6 years, 6 months ago) by tg
File length: 9326 byte(s)
Diff to previous 3472
fixes

Revision 3472 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 16:38:17 2007 UTC (6 years, 6 months ago) by tg
File length: 9306 byte(s)
Diff to previous 3471
more debugging, and fix varexpand to be actually working


Revision 3471 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 16:28:02 2007 UTC (6 years, 6 months ago) by tg
File length: 9135 byte(s)
Diff to previous 3469
work on lookup stuff; next: unbreak varexpand...

Revision 3469 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 15:50:43 2007 UTC (6 years, 6 months ago) by tg
File length: 6515 byte(s)
Diff to previous 3468
referencing undefined variables yields a warning at -d


Revision 3468 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 15:46:10 2007 UTC (6 years, 6 months ago) by tg
File length: 6412 byte(s)
Diff to previous 3467
algorithm for variable expansion, dead simple:
• first, variables are looked up:
  - ${FOO} -> content of FOO
  syntax errors are handled by eating the dollar sign and braces:
  - $x -> x
  - ${x -> x
• then, all first backslashes are removed


Revision 3467 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 15:24:47 2007 UTC (6 years, 6 months ago) by tg
File length: 5061 byte(s)
Diff to previous 3465
this is how it goes farther


Revision 3465 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 15:12:02 2007 UTC (6 years, 6 months ago) by tg
File length: 4749 byte(s)
Diff to previous 3463
add filename to syntax error messages


Revision 3463 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 15:04:31 2007 UTC (6 years, 6 months ago) by tg
File length: 4624 byte(s)
Diff to previous 3461
even cooler output, and I bet nobody will understand the output,
the utf-8, nor the code ☺


Revision 3461 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 14:53:21 2007 UTC (6 years, 6 months ago) by tg
File length: 4626 byte(s)
Diff to previous 3457
• new keyword type MULTITOP = multi + optional iterator
• change a little in the data types to match spec and nfo draft
• fix a double free while here: str_[n]add() does realloc, no need to free


Revision 3457 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 13:40:07 2007 UTC (6 years, 6 months ago) by tg
File length: 4638 byte(s)
Diff to previous 3444
hook parser and dumper into main loop, seems to loop and hog all mem tho, a case for the debugger...

Revision 3444 - (view) (download) (annotate) - [select for diffs]
Added Wed Aug 8 14:32:17 2007 UTC (6 years, 6 months ago) by tg
File length: 3991 byte(s)
first cut at the parser data types

thanks to bsiegert@mbsd for discussing the algorithms and data types used
and providing useful information


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20