jessekphillips / ini.d Goto Github PK
View Code? Open in Web Editor NEWini parser for D written by Christopher Miller
Home Page: http://www.dprogramming.com/ini.php
ini parser for D written by Christopher Miller
Home Page: http://www.dprogramming.com/ini.php
The ini test fails, with this:
Joels-MacBook-Pro:D joelcnz$ dmd ini.d -main -unittest -ofut
Joels-MacBook-Pro:D joelcnz$ ./ut
0 ut 0x000000010d97525e _D4core7runtime18runModuleUnitTestsUZb19unittestSegvHandlerUiPS4core3sys5posix6signal9siginfo_tPvZv + 62
1 libsystem_platform.dylib 0x00007fff922f45aa _sigtramp + 26
2 ??? 0x00007fff522a4500 0x0 + 140734571889920
3 libsystem_c.dylib 0x00007fff8ee9adb6 __vfprintf + 16915
4 libsystem_c.dylib 0x00007fff8eebf2db __v2printf + 471
5 libsystem_c.dylib 0x00007fff8eea4f67 _vsnprintf + 623
6 libsystem_c.dylib 0x00007fff8eea501c vsnprintf + 80
7 ut 0x000000010d9a7aa2 D3std6stream6Stream7vprintfMFAxaPvZm + 126
8 ut 0x000000010d9a7bc0 D3std6stream6Stream6printfMFAxaYm + 180
9 ut 0x000000010d95ca86 D3ini3Ini12saveToStreamMFC3std6stream6StreamZv + 390
10 ut 0x000000010d95cd1f D3ini3Ini4saveMFZv + 207
11 ut 0x000000010d95d6a4 D3ini16__unittestL856_1FZv + 780
12 ut 0x000000010d95b079 _D3ini9__modtestFZv + 9
13 ut 0x000000010d9752e0 D4core7runtime18runModuleUnitTestsUZb14__foreachbody3MFKPS6object10ModuleInfoZi + 48
14 ut 0x000000010d986489 D2rt5minfo17moduleinfos_applyFMDFKPS6object10ModuleInfoZiZi14__foreachbody2MFKS2rt12sections_osx12SectionGroupZi + 85
15 ut 0x000000010d98641d D2rt5minfo17moduleinfos_applyFMDFKPS6object10ModuleInfoZiZi + 49
16 ut 0x000000010d975183 runModuleUnitTests + 139
17 ut 0x000000010d98115f D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi6runAllMFZv + 23
18 ut 0x000000010d981115 D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv + 45
19 ut 0x000000010d981091 _d_run_main + 449
20 ut 0x000000010d95b0f4 main + 20
21 libdyld.dylib 0x00007fff924555fd start + 1
Segmentation fault: 11
Joels-MacBook-Pro:D joelcnz$
This little program fails with "Segmentation fault: 11":
import ini;
void main() {
auto ini = new Ini("ini.txt");
ini.addSection("sec0");
ini.save;
}
Hi. I'm trying to use ini.d, but I get errors. This code work or he is in a stage of debugging? I'm working on dmd 2.64 for Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.