Jan 29, 2011

Solfix by RoyalCardMan at 5:03 AM (733 Views / 0 Likes) 7 replies

  1. RoyalCardMan
    OP

    Member RoyalCardMan DS App Studio™ Developer

    Joined:
    Aug 11, 2010
    Messages:
    628
    Location:
    In the middle of gun fire.
    Country:
    United States
    [​IMG] Solfix

    Hi all!

    As I was working on DS App Studio, I was asking myself 'Why can I just make a programming language for making windows applications?'

    So, I started working on what I called Solfix. It is a programming language that simplifies code into smaller steps. This is C# code of a hello world project:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    namespace ConsoleApplication1
    {
    ÂÂÂÂclass Program
    ÂÂÂÂ{
    ÂÂÂÂÂÂÂÂstatic void Main(string[] args)
    ÂÂÂÂÂÂÂÂ{
    ÂÂÂÂÂÂÂÂÂÂÂÂConsole.WriteLine("Hello, World!");
    ÂÂÂÂÂÂÂÂÂÂÂÂConsole.ReadLine();
    ÂÂÂÂÂÂÂÂ}
    ÂÂÂÂ}
    }
    Here is a sample project from Solfix:
    Code:
    csole.say("Hello, World!");
    csole.read();
    This language is still in progress, but so far, I have added:

    ~ Ways to convert strings to integers.

    ~ Ways to read text from a console.

    ~ Ways to create windows applications.

    There is more that you can do, but these are the basic functions. It isn't much yet, but here is some code for a simple application:
    Code:
    csole.say("Enter a name:");
    string number = csole.getlnval();
    csole.say("" + number + "");
    win32.newapp(640, 480, true, true, 0, number);
    csole.read();
    Hope you like how it is going.
     
  2. Ron

    Member Ron somehow a weeb now.

    Joined:
    Dec 10, 2009
    Messages:
    2,837
    Location:
    here
    Country:
    Canada
    Wow, you really like making programming languages.
     
  3. toguro_max

    Member toguro_max GBAtemp Fan

    Joined:
    Feb 24, 2007
    Messages:
    380
    Location:
    São Vicente, Brazil
    Country:
    Brazil
    This is just nuts @_@
    I can barely code on some languages, and this dude is creating another one!
    Good luck on that, man.
    As far I can see, Your lang will be able to render windows with some kind of switches, right?
    Maybe these "true, true" are for the buttons (Close and Minimize)? Or resizing permitions?
    Will there be any sintax book, once the lang is done? And guides?
    What will it be able to do? Access databases? Connect to Internet? Use Dlls? Interact with other langs?

    Again, good luck.
     
  4. RoyalCardMan
    OP

    Member RoyalCardMan DS App Studio™ Developer

    Joined:
    Aug 11, 2010
    Messages:
    628
    Location:
    In the middle of gun fire.
    Country:
    United States
    The true or false arguments are for displaying the max and min buttons are not.
    There will be documentation on the language.
     
  5. Slyakin

    Member Slyakin See ya suckers

    Joined:
    Oct 15, 2008
    Messages:
    4,450
    Location:
    Soviet Slyakin
    Country:
    United States
    Wow, good luck man.
     
  6. RoyalCardMan
    OP

    Member RoyalCardMan DS App Studio™ Developer

    Joined:
    Aug 11, 2010
    Messages:
    628
    Location:
    In the middle of gun fire.
    Country:
    United States
    I have been developing programming languages for two years, so it won't be much of a problem.

    Thanks anyways.

    Here's the site for the download:

    http://solfix.codeplex.com/
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,697
    Country:
    United Kingdom
    If you are making a simple language what sort of steps are you taking towards preventing operator overload?- most of the rookie mistakes I ever made with such things (or indeed some of the hardest to debug) is with such things (missing brackets leading to odd behaviour in a program that still compiles).

    Either way a GUI oriented compiled language rather than an interpreter like autoIT is something I would be interested in seeing develop.

    If it can wind binary abilities with some simple text + unicode reading (looking at something like CSV and maybe crude XML) I would try flogging it to rom hackers and those that fiddle around with simple hacks that need binary tweaks for things- having to learn a high level computing language well enough to build a table/text reading program (it is all about the game specific stuff these days it seems) does not sit well with some of the newer hackers and I can see where they are coming from.
     
  8. RoyalCardMan
    OP

    Member RoyalCardMan DS App Studio™ Developer

    Joined:
    Aug 11, 2010
    Messages:
    628
    Location:
    In the middle of gun fire.
    Country:
    United States
    Solfix could actually be used for ROM hacking.

    I implemented methods that allow you to edit file content, such as the syst.addcontenttofile(string filetoedit, string texttoadd);

    The method isn't in the first beta though.

    Solfix was mainly meant for creating applications, but it can be used for ROM hacking.
     

Share This Page