Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parser rewrite. Need Feedback!
09-24-2010, 05:46 PM,
#5
 
I don´t like these named references to other datablocks. It logical, hierarchical and i use in my own programming.
But tuning a config file, it´s not convenient.
Aims: hold data together and define only differences.
Another proposal (and fast example):
Quote:[suspension-front]
model = oem_wheel
tire = tire-data....
brake = brake-data....
coilover = coilover-data....
camber = 1.33
caster = 6.12
toe = 0.0
ackermann = -8.46
steering = 30
hinge = 0.0, 0.0, 0.0

[suspension-front-left]
position = 0.736, -1.14, -0.47
orientation = left

[suspension-front-right]
position = 0.736, 1.14, -0.47
orientation = right
Like a cascading stylesheets, the more specific value - suspension-front-left - overwrites the presets - suspension-front -
Reply


Messages In This Thread
Parser rewrite. Need Feedback! - by NaN - 09-23-2010, 06:21 AM
[No subject] - by cologne - 09-23-2010, 06:54 AM
[No subject] - by NaN - 09-23-2010, 07:30 AM
[No subject] - by NaN - 09-24-2010, 07:45 AM
[No subject] - by cologne - 09-24-2010, 05:46 PM
[No subject] - by NaN - 09-25-2010, 05:43 AM
[No subject] - by cologne - 09-25-2010, 03:51 PM
[No subject] - by NaN - 09-25-2010, 05:12 PM
[No subject] - by NaN - 09-30-2010, 02:24 PM
[No subject] - by NaN - 09-30-2010, 03:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)