Thread: hyperC compiler

  1. #1
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    301

    Thumbs up hyperC compiler

    hyperC variable file extrusion...

    https://hyperc.okelyon.com/

    Code:
      <stdio.h>;
      @{
      
       with int ;
          stringMax = 32;
       and; with char ; and [stringMax];
          lang; title; string;
       and; with;
      
       lang = "en-us"; title = "Site Title";
       string = "test string.";
      
       with ink ; and "\n";
          "<!DOCTYPE html>";
          "<html lang='" [s]lang "'>";
          "<head>";
              "<title>" [s]title "</title>";
          "</head>";
          "<body>";
              "String:" [s]string;
          "</body>";
          "</html>";
       and; with;
      
      };
    https://hyperc.okelyon.com/
    Last edited by Structure; 08-05-2020 at 12:07 PM. Reason: secured links
    "without goto we would be wtf'd"

  2. #2
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    174
    Quote Originally Posted by Structure View Post
    hyperC variable file extrusion...

    https://hyperc.okelyon.com/

    Code:
      <stdio.h>;
      @{
      
       with int ;
          stringMax = 32;
       and; with char ; and [stringMax];
          lang; title; string;
       and; with;
      
       lang = "en-us"; title = "Site Title";
       string = "test string.";
      
       with ink ; and "\n";
          "<!DOCTYPE html>";
          "<html lang='" [s]lang "'>";
          "<head>";
              "<title>" [s]title "</title>";
          "</head>";
          "<body>";
              "String:" [s]string;
          "</body>";
          "</html>";
       and; with;
      
      };
    https://hyperc.okelyon.com/
    The project linked only provides a binary. No source, no thanks!
    The power of null.

  3. #3
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    301
    No source, no thanks!


    why?
    "without goto we would be wtf'd"

  4. #4
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    174
    Quote Originally Posted by Structure View Post
    why?[/COLOR]
    Short list:

    (1) How can one know for sure that it doesn't contain any malware? Users have a right to know what they're running on their computers.

    (2) What happens if a bug is found? Just wait around till the author decides to update it? Post the code on Github and then your users can simply open an issue or submit a pull request with a fix.

    (3) What if my platform happens to be MacOS or Linux? Providing the source code makes it easier to port to other platforms.
    The power of null.

  5. #5
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,731
    Do you have any proper documentation for the language and the compiler? I'm sorry, but that link is awful. You can't expect us to understand how it works just by showing some random examples. A wiki or a reference manual would be great.
    Devoted my life to programming...

  6. #6
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    301

    Thumbs up Installing/Using hyperC compiler

    https://hyperc.okelyon.com/

    On this page it shows some basic features of the language...

    Code:
    <stdio.h>;<math.h>;<string.h>;
    These are the header files i.e: #include, in hyperC you don't type #include it's implied when using <FILE.H>. Also you can use "file.h" for local file headers.

    Code:
    :>include.hcc;
    This is code injection. hyperC has a few passes during compilation. One of the first is file inject. :>filename.txt; . This file is included pre-compiled. You can include other hyperC commonly hcc.
    When including a file as a string inside quotes such as shaders use :$>filename;

    Code:
    with #define ;     
      e 2.71828;     
      pi 3.14159; 
    with;
    Another step in the compilation process is and, with. This is an example of using with which puts #define at the beginning of each line cleared using with;

    The rest are examples of code structure and common functions included. It is a file compiler, built for exporting .c applications and making the coding process faster.

    If you want to try it goto the DOWNLOAD link on the left side and download hcc.exe

    It is a windows command line executable.
    usage: hcc file.hcc file.c

    As far as manual, The web site is the manual.
    The examples on the web site should work as is.
    Last edited by Structure; 08-07-2020 at 01:32 PM.
    "without goto we would be wtf'd"

  7. #7
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    301
    Providing the source code makes it easier to port to other platforms.
    There is no windows specific code.
    "without goto we would be wtf'd"

  8. #8
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    174
    Quote Originally Posted by Structure View Post
    There is no windows specific code.
    It's a command-line application that processes text files. Couldn't have been written in pure C, eh?
    The power of null.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. hyperC:>Compiler;
    By Structure in forum Tech Board
    Replies: 0
    Last Post: 01-09-2020, 12:29 PM
  2. HyperC
    By Structure in forum Tech Board
    Replies: 83
    Last Post: 09-20-2019, 08:50 AM
  3. HyperC Pre Process File Injection
    By Structure in forum Tech Board
    Replies: 2
    Last Post: 08-06-2019, 06:13 AM
  4. The future of the C language is HyperC
    By Structure in forum Projects and Job Recruitment
    Replies: 6
    Last Post: 05-14-2019, 08:55 AM

Tags for this Thread