The L+ Project (Library)

Logo
L+ LIBRARY



NOTICE: GUI CONTROLS ARE COMING SOON, PLEASE BE PATIENT

Latest Update - Removed Cout

Cout has been replaced by Console.log

Intro

Hey, ShadowX Here.

VERSION 0.0025

I’ve made a simple C++ Lua Language, named CPP or L+

This is inspired by the popular language ‘C++’. Some notes here, console commands are the hardest. Support for sound, and GUI’s are coming soon. The support for the GUIs will be similar to Roact. I hope you enjoy!

L+ only has 4 Commands So Far.

NOTICES - READ ME

᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼ ᲼
🛈: The Strings Can Be Found Inside The ‘int’ Command᲼᲼᲼
🛈:᲼Don’t critize me unless you have read all the comments
᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼ ᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼
᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼


GET IT HERE: L+ (C++) - Roblox


Anyways, I’ve left an example script but here is a quick tutorial.

Tutorial

BASICS


First Insert The Model Into WORKSPACE

Now Make A Script Wherever. I recommend A LocalScript

New: Using The Command:
local CPP = require(game.Workspace.CPP.Core.Scripts.Modules.CoreModules.UsingCPP), we can now instantly call CPP Libraries, etc

Console.Log COMMAND


**The Console.log Command is a command that prints a variable or a string in the CONSOLE
A better alternative to this is to using the default Print() Command

To Get the Console.log command, we need to require it.

It can Be Required Like This:

local C = require(game.Workspace.CPP.Core.Scripts.Modules.Commands.Cout)

Okay, so now we have our command, But How do we call it?

C.Log(Nom Nom Nom)

VALUES (STRING, INT, AND CHAR)


Okay. Before we do that, we need to get 2 things, require a script, and get the path that saves the values.

local IntCommand = require(game.Workspace.CPP.Core.Scripts.Modules.Commands.Int)

local IntLib = game.Workspace.CPP.Core.Values.int -- Gets The Int Library

Okay, so how do we create a variable?

As mentioned before the String is mixed in with the Int command.

IntCommand.Int("String", "X", "Hello")

“String” Is Saying We are Making a String, “X” is the name Of The Variable, and “Hello” Is The Value

The Value Of X Is Now “Hello”

And For Numbers…

IntCommand.Int("Number", "X", "4")

X can have as many values as you like. X could have a Number Value Of 4, And String values of 4,8,3,6 and 3.

To call this depends on how many You Have Created.

C.Log(IntLib.X_S1.Value) -- Prints Our Variable 'X'

Here we are printing ‘IntLib.X_S1.Value’. The ‘X’ in X_S1 is the name of our Variable. ‘S’ tells us it’s a string, (N means number) and the number at the end tells us which one it is. So you could have 5 X’s and you can choose which one you want.

A Char value is similar to the above but can only hold 1 character.
It can also be used to convert numbers to letters.

Example Of The Command Char:

-- Example

local C = require(game.Workspace.CPP.Core.Scripts.Modules.Commands.Cout) -- Gets The Console.log Command

local CharCommand = require(game.Workspace.CPP.Core.Scripts.Modules.Commands.Char)

local CharLib = game.Workspace.CPP.Core.Values.char

CharCommand.Char("x","w")

Console.log(CharLib.x.Value) -- Prints Our Variable 'X'

This calls The Console.log And The Char Libraries.

We can make a char value like the following:

CharCommand.Char("x","w")

‘x’ is the name, and ‘w’ is our value. Attempts to change this will result in an error:

"CPP ERROR: CHAR CAN ONLY HAVE ONE LETTER"

Upcoming


Planned Things:

• ‘Char’ Command DONE
• Adding GUI Control [NEXT BIG UPDATE]
• Adding Sound Control

Update Log

UPDATE LOG


24 /02 / 23

24/02/23 - Created And Published

24/02/23 - Char Command

24/02/23 - Bug Fixes

24/02/23 - Removed EULA

Let me know your ideas and recommendations on this is the comments.

POLL

WHAT WOULD YOU LIKE NEXT?


The Poll Has Ended! We’re officially adding an ‘inc’ command to quickly create GUIs


L+ COMPUTER LIBRARY - DEVELOPED BY SHADOWBALL_X


12 Likes

Pretty interesting. I don’t really think C++ is really fit for this purpose, since, it still runs on Lua, aswell as the syntax being pretty different, but why would someone prefer this over Lua?

I’m pretty sure you made this as a test and if thats the case, it’s pretty cool.

9 Likes

Thanks. I’m planning on making it like a little addon so if someone wants to do it as a challenge they can do it

1 Like

Also I think you made the module not for sale, I can’t install it

it’s one of those things where you don’t know what to do so it’s random

12593215410.rbxm (4.0 KB)

for me it says it is onsale but i’ve provided the rbxm file

Nevermind. It won’t let me. It’s an unknown error

nevermind again. CPP (C++) - Roblox

I absolutely despise C++ (in most cases, I only use it for creating game engines), I’m more of a Rust type of guy. But it looks good! I might try it and see how it works out

4 Likes

Thanks. It would be cool to see when it is later developed if people could make a game with it.

and also, if possible, I wanted to know if I could attempt to make a website for it? since honestly, my website skills been becoming a bit rusty. . . no need for payment or anything

Website for exactly what? I don’t mind anything of the above :slight_smile:

for the project, and also to unrust myself with html and such

Sure, go ahead. I just want to see how it turns out

alrighto, do I send the final product here? or. . .

My discord is SaWasTaken#0202 is you want to DM Me there

Ay could you send some screenshots when you finish it i wanna see the final product lol

Sure! I’ll send it in this post when I’m finished!

it’s looking good so far. I think you’ll like it