Comments (4)
heyy how to run the project locally, please help me out
from bhai-lang.
As of now, there are no docs for Project setup for contributing and trying it out locally.
Let me know if help is needed.
I am unable to run it locally and also looked open issue about this but nothing worked, could you please help me out
from bhai-lang.
Code:
test.bhai
hi bhai
bol bhai "Hello bhai";
bye bhai
when I am trying to run it locally it shows me this error:
In terminal: D:\Dhanashree\Learning\Bhailang_Examples> bhailang test.bhai
bhailang : File C:\Users\DELL\AppData\Roaming\npm\bhailang.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
- bhailang test.bhai
-
+ CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
How can I solve this??
Suggestions are welcome
from bhai-lang.
This Problem that you are facing can be solved in two ways:
1). Run your code in Command Prompt, instead of PowerShell, it will run just fine.
2). or you can change your PowerShell Execution Policy to allow scripts like this to run on your local windows machine in future as well.
In PowerShell(Administrator Mode) run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
After this your test code will run in PowerShell as well, but after changing these Execution Policies, you should only execute scripts that you trust.
More information regarding PowerShell Execution Policy can be found here:
https://docs.microsoft.com/en-in/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2
from bhai-lang.
Related Issues (20)
- Feature Request: please add user input, it will be very fun tbh HOT 1
- Feature Request: User Input using Sunn Bhai HOT 4
- Feature Request: Implement Promises in BhaiLang
- Feature Request: For stopping program we can also use this HOT 5
- Feature Request: Replace null equivalent to Thullu. HOT 1
- Feature Request: Show the line number of the incorrect statement along with the compiler error. HOT 1
- Feature Request: Exception Handling
- Improved Docs
- Minor CSS fix for playground output terminal with scrollbar HOT 1
- Feature Request: Kindly add autocomplete text prediction during the syntax HOT 2
- Type of variables in bhailang
- Feature Request: mujhe maro instead of try catch's catch block HOT 3
- Feature Request: HOT 2
- Feature Request: Array aur bhai custom functions HOT 3
- Change bhai ye hai to bhai man le HOT 2
- Where is the executable outputted? HOT 7
- Feature Request: exponentiation operator or text
- Constants > TokenTypes Object lacks consistency
- Feature Request: "Arey Bhai Bhai Bhai" for Exception Handling
- Feature Request: Hello Bhai HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bhai-lang.