Results 1 to 9 of 9

Thread: ModBASIC

  1. #1

    Thread Starter
    Lively Member Girvo911's Avatar
    Join Date
    Dec 2004
    Posts
    88

    ModBASIC

    Hi there!
    My name is Josh, a.k.a Girvo, and I love programming. Latley I have been part of the LightFusion project, and I learnt a lot about compiler writing. Well'p, that project flopped, and now I have started work on my own language.

    Any help will be appreiciated!

    Heres what we need to do:
    1. Work out syntax properly
    2. Write working compiler
    3. Write IDE
    4. Promote it!


    Anyways, the entire purpose of this project is to create a language which is one step up from BASIC towards programming in C++. There won't be any Windows functions (yet), and it will pretty much just be DOS programming.

    The main aim is to introduce FUNCTIONS (called modules in this), and possibly CLASSES (called objects in this language).

    Anyways, I will post the syntax I have come up with already as soon as possible!

    -Girvo
    Life may suck, but we can't live without it...
    ----------------------


    Quote Originally Posted by penagate
    What the hell is 'Ptr'? All pointers will be untyped? That points (if you'll excuse the lame pun) to disaster, if you ask me.

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: ModBASIC

    Why are you arbitrarily renaming constructs? Why not call a function a function, call a spade a spade.

    You say the lightfusion project has flopped?? Why?

    Welcome to the VBF project bandwagon
    I don't live here any more.

  3. #3
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: ModBASIC

    will the compiler be cross-platform (*nix/BSD) or will it just stay with MS-DOS/Windows?
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  4. #4
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: ModBASIC

    trying to visualise BASIC code with semicolons at the end of each line just looks wierd. but it is one step closer to programming in C++.

    EDIT: you should get rid of the old BASIC for-loop syntax and replace it with the more powerful C/C++/Java for-loop syntax.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  5. #5
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: ModBASIC

    Actually I'll be working on LightFusion on my own, since every innovative idea I came up with has been turned down by the other team members. Plus it was their choice to quit from the project.

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: ModBASIC

    There is a very distinct conceptual difference between a class and an object. A class is the design which objects use. The term "object" refers to an instance of a class. So calling a class an object is not technically correct and confusing for people stepping up to C++.

  7. #7

    Thread Starter
    Lively Member Girvo911's Avatar
    Join Date
    Dec 2004
    Posts
    88

    Re: ModBASIC

    Okay then! Thats the stuff I needed help with

    SO, they will stay as Classes, and Functions. Thanks for the help with that.

    -Girvo
    Life may suck, but we can't live without it...
    ----------------------


    Quote Originally Posted by penagate
    What the hell is 'Ptr'? All pointers will be untyped? That points (if you'll excuse the lame pun) to disaster, if you ask me.

  8. #8

    Thread Starter
    Lively Member Girvo911's Avatar
    Join Date
    Dec 2004
    Posts
    88

    Re: ModBASIC

    Also, it will use the C++ For loop, and If statement syntax, as that is something everyone learning C++ will need to get used to.
    Life may suck, but we can't live without it...
    ----------------------


    Quote Originally Posted by penagate
    What the hell is 'Ptr'? All pointers will be untyped? That points (if you'll excuse the lame pun) to disaster, if you ask me.

  9. #9
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: ModBASIC

    Girvo911,

    Check your private messages please.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width