WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

Where can I find documentation? #25

Closed ghost closed 4 years ago

ghost commented 4 years ago

@zeux @WheretIB

WheretIB commented 4 years ago

Hello t0md3an,

Language reference is available here on Github wiki at https://github.com/WheretIB/nullc/wiki/Language-Reference Library C/C++ API reference is available at https://github.com/WheretIB/nullc/wiki/Library-Reference

Both wiki pages are available in the LanguageEN.html and LibraryEN.html files inside the repository, but wiki pages contain more recent updates.

ghost commented 4 years ago

Thanks @WheretIB , also I have a few questions:

  1. Is there any of fprintf/printf/snprintf in nullc like in libc?

  2. Is there something like using namespace in Nullc, to replace io.out with just out by using namespace io?

  3. Is there any command line arguments parser (argc, argv)?

  4. How to read user input?

WheretIB commented 4 years ago
  1. std.io module https://github.com/WheretIB/nullc/wiki/Language-Reference#stdio contains the current way of doing I/O, although I myself like C functions more. It's something I'm looking at providing in the future.
  2. There is no using for namespaces in nullc
  3. I've gotten this request before and it's also something nice to have for standalone apps but it's not available right now, sorry.
  4. std.io Input function is the low-level primitive for getting characters.